Top Level Namespace
Defined Under Namespace
Modules: Comparable, Enumerable, Errno, JS, Kernel, Marshal, Math, Opal, PackUnpack, __JS__
Classes: ArgumentError, Array, BasicObject, Boolean, Class, Complex, Dir, Encoding, EncodingError, Enumerator, Exception, File, Float, FloatDomainError, FrozenError, GC, Hash, IO, IOError, IndexError, Integer, Interrupt, KeyError, LoadError, LocalJumpError, MatchData, Method, Module, NameError, NilClass, NoMemoryError, NoMethodError, NotImplementedError, Number, Numeric, Object, Proc, Process, Random, Range, RangeError, Rational, Regexp, RegexpError, RuntimeError, ScriptError, SecurityError, Signal, SignalException, StandardError, StopIteration, String, Struct, SyntaxError, SystemCallError, SystemExit, Time, TypeError, UnboundMethod, UncaughtThrowError, ZeroDivisionError
Constant Summary
- STDERR =
$stderr = IO.new
- STDIN =
$stdin = IO.new
- STDOUT =
$stdout = IO.new
- NIL =
nil
- Fixnum =
Number
- Symbol =
String
- TrueClass =
Boolean
- FalseClass =
Boolean
- TRUE =
true
- FALSE =
false
- RUBY_PLATFORM =
'opal'
- RUBY_ENGINE =
'opal'
- RUBY_VERSION =
'2.5.5'
- RUBY_ENGINE_VERSION =
'1.0.2'
- RUBY_RELEASE_DATE =
'2019-12-15'
- RUBY_PATCHLEVEL =
0
- RUBY_REVISION =
0
- RUBY_COPYRIGHT =
'opal - Copyright (C) 2013-2019 Adam Beynon and the Opal contributors'
- RUBY_DESCRIPTION =
"opal #{RUBY_ENGINE_VERSION} (#{RUBY_RELEASE_DATE} revision #{RUBY_REVISION})"
- ARGV =
[]
- ARGF =
Object.new
- ENV =
{}
Class Method Summary
collapse
<<, print, puts
Class Method Details
.include(mod) ⇒ Object
5
6
7
|
# File 'opal/opal/corelib/main.rb', line 5
def self.include(mod)
Object.include mod
end
|
214
215
216
|
# File 'opal/opal/corelib/unsupported.rb', line 214
def self.private(*)
end
|
210
211
212
|
# File 'opal/opal/corelib/unsupported.rb', line 210
def self.public(*)
end
|
1
2
3
|
# File 'opal/opal/corelib/main.rb', line 1
def self.to_s
'main'
end
|