Object class of PicoRuby
Instance methods
<=>
instance.<=>(untyped) -> Integer?
===
instance.===(untyped) -> bool
attr_accessor
instance.attr_accessor(*Symbol) -> void
attr_reader
instance.attr_reader(*Symbol) -> void
block_given?
instance.block_given?() -> bool
class
instance.class-> class
dup
instance.dup() -> self
exit
instance.exit(?Integer) -> void
inspect
instance.inspect() -> String
is_a?
instance.is_a?(untyped) -> bool
nil?
instance.nil?() -> bool
object_id
instance.object_id() -> Integer
p
instance.p[T < _Inspect] (T arg0) -> T
instance.p(_Inspect arg0, _Inspect arg1, *_Inspect rest) -> Array[_Inspect]
instance.p() -> nil
instance.print(*_ToS args) -> nil
printf
instance.printf() -> nil
instance.printf(String fmt, *untyped args) -> nil
puts
instance.puts(*_ToS objects) -> nil
raise
instance.raise() -> bot
instance.raise(string message) -> bot
instance.raise(Exception exception, ?String cause) -> bot
instance.raise(_Exception exception, ?String cause) -> bot
sleep
instance.sleep(Integer | Float) -> Integer
sleep_ms
instance.sleep_ms(Integer) -> Integer
sprintf
instance.sprintf(String format, *untyped args) -> String
to_s
instance.to_s() -> String
Instance methods (picoruby-require)
load
instance.load(String path) -> bool
require
instance.require(String name) -> bool