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, ERB, File, Hash, IO, Logger, MatchData, Matrix, Module, Mutex, NilClass, Numeric, Object, OpenStruct, PP, Pathname, Proc, Promise, Regexp, Set, SimpleDelegator, String, StringIO, StringScanner, Struct, Template, Thread, ThreadError, Time, Vector

Constant Summary

Queue =
Thread::Queue
RUBY_EXE =

required for mspec it would appear

'bundle exec exe/opal'
ENV =
Object.new
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


27
28
29
# File 'opal/stdlib/delegate.rb', line 27

def DelegateClass(superklass)
  SimpleDelegator
end