Class: Code::Object::Nothing
- Inherits:
-
Code::Object
- Object
- Code::Object
- Code::Object::Nothing
- Defined in:
- lib/code/object/nothing.rb
Instance Attribute Summary
Attributes inherited from Code::Object
Instance Method Summary collapse
-
#initialize(*_args, **_kargs, &_block) ⇒ Nothing
constructor
A new instance of Nothing.
- #truthy? ⇒ Boolean
Methods inherited from Code::Object
#<=>, #==, as_json, #as_json, call, #call, #code_and_operator, code_and_operator, code_as_json, #code_as_json, code_different, #code_different, code_equal_equal, #code_equal_equal, code_equal_equal_equal, #code_equal_equal_equal, #code_exclamation_point, code_exclamation_point, code_exclusive_range, #code_exclusive_range, code_inclusive_range, #code_inclusive_range, code_new, code_or_operator, #code_or_operator, #code_self, code_self, code_to_json, #code_to_json, #falsy?, falsy?, #hash, inspect, #inspect, maybe, multi_fetch, #multi_fetch, repeat, sig, #sig, #succ, to_json, #to_json, to_s, #to_s, truthy?, |
Constructor Details
#initialize(*_args, **_kargs, &_block) ⇒ Nothing
Returns a new instance of Nothing.
6 7 8 |
# File 'lib/code/object/nothing.rb', line 6 def initialize(*_args, **_kargs, &_block) @raw = nil end |