Top Level Namespace

Extended by:
IO::Writable

Defined Under Namespace

Modules: Comparable, Enumerable, Errno, Kernel, Opal, __JS__ Classes: ArgumentError, Array, BasicObject, Boolean, Class, Complex, Dir, Enumerator, Exception, File, Float, FloatDomainError, Hash, IO, IOError, IndexError, Integer, Interrupt, KeyError, LoadError, LocalJumpError, MatchData, Method, Module, NameError, NilClass, NoMemoryError, NoMethodError, NotImplementedError, Numeric, Proc, Range, RangeError, Rational, Regexp, RegexpError, RuntimeError, ScriptError, SignalException, StandardError, StopIteration, String, Struct, SyntaxError, SystemCallError, SystemExit, Time, TypeError, UnboundMethod

Constant Summary

STDERR =
$stderr = IO.new
STDIN =
$stdin  = IO.new
STDOUT =
$stdout = IO.new
Symbol =
String
TrueClass =
Boolean
FalseClass =
Boolean
TRUE =
true
FALSE =
false
Fixnum =
Numeric
NIL =
nil
ARGV =
[]
ARGF =
Object.new
ENV =
{}
RUBY_PLATFORM =
'opal'
RUBY_ENGINE =
'opal'
RUBY_VERSION =
'2.1.5'
RUBY_ENGINE_VERSION =
'0.8.1'
RUBY_RELEASE_DATE =
'2015-10-12'

Class Method Summary collapse

Methods included from IO::Writable

<<, 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

.to_sObject



1
2
3
# File 'opal/opal/corelib/main.rb', line 1

def self.to_s
  'main'
end