Top Level Namespace

Defined Under Namespace

Modules: Base64, Benchmark, Enumerable, Exception2MessageMapper, ExceptionForMatrix, FileUtils, Forwardable, JS, JSON, Kernel, Nashorn, Native, NodeJS, Observable, OpenURI, REPLUtils, Racc, RbConfig, SecureRandom, Shellwords, SingleForwardable, Singleton, YAML Classes: Array, BigDecimal, Boolean, Buffer, Class, Console, Date, Delegator, Dir, ENV, ERB, File, Float, Hash, IO, Integer, Logger, MatchData, Matrix, Method, Module, Mutex, NilClass, Numeric, Object, OpenStruct, OptionParser, 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
PromiseV1 =
Promise
OptParse =

An alias for OptionParser.

OptionParser
RUBY_EXE =

required for mspec it would appear

'bundle exec exe/opal'
ARGV =

Compatibility utilities for the API we provide in lib/opal/cli_runners/mini_racer

`scriptArgs`
NodeRepl =
Native(`OpalNode.node_require('repl')`)
ARGF =
Object.new
ParseError =
Racc::ParseError
OPAL_PLATFORM =
if nashorn
  'nashorn'
elsif node
  'nodejs'
elsif headless_chrome
  'headless-chrome'
elsif gjs
  'gjs'
elsif quickjs
  'quickjs'
elsif opal_miniracer
  'opal-miniracer'
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