Object class of PicoRuby

Include

Kernel

Singleton methods (picoruby-metaprog)

ancestors

Object.ancestors() -> Array[Class]

Instance methods (picoruby-metaprog)

id

instance.__id__() -> Integer

alias_method

instance.alias_method(Symbol|String new_name, Symbol|String old_name) -> Symbol

class?

instance.class?() -> bool

const_defined?

instance.const_defined?(Symbol | String name) -> 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 | String name) -> untyped

instance_variable_set

instance.instance_variable_set(Symbol | String 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

relinquish

instance.relinquish() -> bool

sleep

instance.sleep(Integer | Float) -> Integer

sleep_ms

instance.sleep_ms(Integer) -> Integer

Instance methods

open

instance.open[T] (String file, ?String mode) { (IO) -> T } -> T
instance.open(String file, ?String mode) -> (IO | nil)

Instance methods

exit

instance.exit(?Integer) -> void

loop

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

relinquish

instance.relinquish-> bool

sleep

instance.sleep(Integer | Float) -> Integer

sleep_ms

instance.sleep_ms(Integer) -> Integer
Tags: class