Top Level Namespace
Defined Under Namespace
Modules: CMath, Carbuncle, Comparable, Enumerable, GC, JSON, Kernel, Math, ObjectSpace Classes: ArgumentError, Array, BasicObject, Class, Complex, Data, Enumerator, Exception, FalseClass, Fiber, Float, FloatDomainError, FrozenError, Hash, IndexError, Integer, KeyError, LocalJumpError, MatchData, Method, Module, NameError, NilClass, NoMemoryError, NoMethodError, NotImplementedError, Numeric, Object, Proc, Random, Range, RangeError, Rational, Regexp, RegexpError, ScriptError, Set, StandardError, StopIteration, String, Struct, Symbol, SystemStackError, TrueClass, TypeError, UncaughtThrowError, ZeroDivisionError
Class Method Summary collapse
-
.include(*modules) ⇒ Object
Includes all modules to be part of the top level namespace.
-
.private(*methods) ⇒ Object
Sets the assigned methods to be private.
-
.protected(*methods) ⇒ Object
Sets the assigned methods to be protected.
-
.public(*methods) ⇒ Object
Sets the assigned methods to be public.
Class Method Details
.include(*modules) ⇒ Object
Includes all modules to be part of the top level namespace
|
# File 'gems/carbuncle-doc-ext/mrblib/top_level_namespace.rb', line 13
|
.private(*methods) ⇒ Object
Sets the assigned methods to be private. It does nothing in MRuby as a limitation of the environment. It exist to be compatible with the standard Ruby implementation.
|
# File 'gems/carbuncle-doc-ext/mrblib/top_level_namespace.rb', line 13
|
.protected(*methods) ⇒ Object
Sets the assigned methods to be protected. It does nothing in MRuby as a limitation of the environment. It exist to be compatible with the standard Ruby implementation.
|
# File 'gems/carbuncle-doc-ext/mrblib/top_level_namespace.rb', line 13
|
.public(*methods) ⇒ Object
Sets the assigned methods to be public. It does nothing in MRuby as a limitation of the environment. It exist to be compatible with the standard Ruby implementation.
|
# File 'gems/carbuncle-doc-ext/mrblib/top_level_namespace.rb', line 13
|