Object class of PicoRuby

Include

Kernel

Singleton methods (picoruby-metaprog)

ancestors

Object.ancestors() -> Array[Class]

Instance methods (picoruby-metaprog)

id

instance.__id__() -> Integer

class?

instance.class?() -> bool

const_get

instance.const_get(Symbol name) -> untyped

instance_eval

instance.instance_eval() { (self) -> untyped } -> Object

instance_of?

instance.instance_of?(Class klass) -> bool

instance_variable_get

instance.instance_variable_get(Symbol name) -> untyped

instance_variable_set

instance.instance_variable_set(Symbol name, untyped value) -> untyped

instance_variables

instance.instance_variables() -> Array[Symbol]

methods

instance.methods() -> Array[Symbol]

respond_to?

instance.respond_to?(Symbol | String name) -> bool

send

instance.send(Symbol | String name, *untyped args) -> untyped

Instance methods (picoruby-require)

load

instance.load(String path) -> bool

require

instance.require(String name) -> bool

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

include

instance.include(Module) -> void

inspect

instance.inspect() -> String

is_a?

instance.is_a?(untyped) -> bool

loop

instance.loop() { () -> void }-> void

nil?

instance.nil?() -> bool

raise

instance.raise() -> bot
instance.raise(string message) -> bot
instance.raise(Exception exception, ?String cause) -> bot
instance.raise(_Exception exception, ?String cause) -> bot

relinquish

instance.relinquish-> bool

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
Tags: class