Class: Code::Object::Nothing
- Inherits:
-
Code::Object
- Object
- Code::Object
- Code::Object::Nothing
- Defined in:
- lib/code/object/nothing.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize ⇒ Nothing
constructor
A new instance of Nothing.
- #inspect ⇒ Object
- #to_s ⇒ Object
- #truthy? ⇒ Boolean
Methods inherited from Code::Object
#<=>, #==, #call, #falsy?, #hash
Constructor Details
#initialize ⇒ Nothing
Returns a new instance of Nothing.
6 7 8 |
# File 'lib/code/object/nothing.rb', line 6 def initialize @raw = nil end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
4 5 6 |
# File 'lib/code/object/nothing.rb', line 4 def raw @raw end |