Module: NullAndVoid::Introspectable
- Defined in:
- lib/null_and_void/introspectable.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
7 8 9 |
# File 'lib/null_and_void/introspectable.rb', line 7 def inspect "#<#{self.class.name}:0x#{(__id__ * 2).to_s(16)}>" end |
#null_object? ⇒ Boolean
3 4 5 |
# File 'lib/null_and_void/introspectable.rb', line 3 def null_object? true end |