Top Level Namespace

Defined Under Namespace

Modules: Base64, Benchmark, Enumerable, Exception2MessageMapper, ExceptionForMatrix, FileUtils, Forwardable, JS, JSON, Kernel, Nashorn, Native, NodeJS, Observable, OpenURI, Racc, RbConfig, SecureRandom, SingleForwardable, Singleton, YAML Classes: Array, BigDecimal, Boolean, Buffer, Class, Console, Date, Delegator, Dir, ENV, ERB, File, Float, Hash, IO, Integer, Logger, MatchData, Matrix, Module, Mutex, NilClass, Numeric, Object, OpenStruct, PP, Pathname, PrettyPrint, Proc, Promise, PromiseV2, Range, Rational, Regexp, Set, SimpleDelegator, String, StringIO, StringScanner, Struct, Template, Thread, ThreadError, Time, Vector

Constant Summary collapse

Queue =
Thread::Queue
RUBY_EXE =

required for mspec it would appear

'bundle exec exe/opal'
NodeRepl =
Native(`OpalNode.node_require('repl')`)
ParseError =
Racc::ParseError
ARGV =
`process.argv.slice(2)`
OPAL_PLATFORM =
if nashorn
  'nashorn'
elsif node
  'nodejs'
elsif headless_chrome
  'headless-chrome'
else # possibly browser, which is the primary target
end

Instance Method Summary collapse

Instance Method Details

#DelegateClass(superklass) ⇒ Object



35
36
37
# File 'opal/stdlib/delegate.rb', line 35

def DelegateClass(superklass)
  SimpleDelegator
end