Class: Code::Object::Nothing
- Inherits:
-
Code::Object
- Object
- Code::Object
- Code::Object::Nothing
- Defined in:
- lib/code/object/nothing.rb
Constant Summary
Constants inherited from Code::Object
Instance Attribute Summary
Attributes inherited from Code::Object
Instance Method Summary collapse
-
#initialize(*_args, **_kargs) ⇒ Nothing
constructor
A new instance of Nothing.
- #nothing? ⇒ Boolean
- #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, maybe, multi_fetch, #multi_fetch, nothing?, repeat, sig, #sig, #succ, #to_code, to_json, #to_json, to_s, truthy?, |
Constructor Details
#initialize(*_args, **_kargs) ⇒ Nothing
Returns a new instance of Nothing.
6 7 8 |
# File 'lib/code/object/nothing.rb', line 6 def initialize(*_args, **_kargs, &) @raw = nil end |