Module: Chione::Inspection
Overview
An extensible #inspect for Chione objects.
Instance Method Summary collapse
-
#inspect ⇒ Object
Return a human-readable representation of the object suitable for debugging.
-
#inspect_details ⇒ Object
Return the detail portion of the inspect output for this object.
Instance Method Details
#inspect ⇒ Object
Return a human-readable representation of the object suitable for debugging.
96 97 98 99 100 101 102 |
# File 'lib/chione/mixins.rb', line 96 def inspect return "#<%p:%#016x %s>" % [ self.class, self.object_id * 2, self.inspect_details, ] end |
#inspect_details ⇒ Object
Return the detail portion of the inspect output for this object.
106 107 108 |
# File 'lib/chione/mixins.rb', line 106 def inspect_details return '' end |