orbacle
orbacle copied to clipboard
Built-ins - Object
BasicObject
- [x] == -- bool
- [x] ! -- bool
- [x] != -- bool
- [x] object_id -- integer
- [x] id -- integer
- [ ] send / send - send method
- [x] equal? -- bool
- [ ] instance_eval
- [ ] instance_exec
- [ ] method_missing
- [ ] singleton_method_added
- [ ] singleton_method_removed
- [ ] singleton_method_undefined
Object
- [x] !~ operator -- boolean
- [x] <=> -- integer or nil
- [x] === -- bool
- [ ] =~ -- ???
- [x] class
- [x] clone(freeze: true) -- an_object
- [ ] define_singleton_method
- [x] display(port=$>) -- nil
- [x] dup -- an_object
- [ ] enum_for
- [x] equal? -- bool
- [x] eql? -- bool
- [ ] extend
- [x] frozen? -- bool
- [x] inspect -- string
- [x] instance_of?(class) -- bool
- [x] instance_variable_defined?(symbol/string) -- bool
- [ ] instance_variable_get(string/symbol)
- [ ] instance_variable_set(string/symbol, obj)
- [ ] instance_variables -- array of symbols
- [x] is_a?(class) -- bool
- [x] itself -- an_object
- [x] kind_of?(class) -- bool
- [ ] method(sym)
- [ ] methods(regular=true) -- array of symbols
- [x] nil? -- bool
- [ ] private_methods(all=true) -- array of symbols
- [ ] protected_methods(all=true) -- array of symbols
- [ ] public_method(sym)
- [ ] public_methods(all=true) -- array of symbols
- [ ] public_send(symbol/string [, args...])
- [ ] remove_instance_variable(symbol)
- [x] respond_to?(symbol/string, include_all=false) -- bool
- [x] respond_to_missing?(symbol/string, include_all) -- bool
- [ ] singleton_class
- [ ] singleton_method(sym)
- [ ] singleton_methods
- [x] taint -- an_object
- [x] tainted? -- bool
- [ ] tap {|x| block } -- an_object
- [ ] to_enum
- [x] to_s -- string
- [x] trust -- an_object
- [x] untaint -- an_object
- [x] untrust -- an_object
- [x] untrusted? -- bool
- [ ] yield_self {|x| block } -- result of the block