Module: Xot::Inspectable
- Defined in:
- lib/xot/inspectable.rb
Instance Method Summary collapse
-
#inspect ⇒ String
Returns a string containing a human-readable representation of object.
Instance Method Details
#inspect ⇒ String
Returns a string containing a human-readable representation of object.
10 11 12 |
# File 'lib/xot/inspectable.rb', line 10 def inspect() "#<#{self.class.name}:0x#{(object_id << 1).to_s(16).rjust(16, '0')}>" end |