Ravn::

Inspection module

An extensible inspect for Ravn objects.

Public Instance Methods

inspect()

Return a human-readable representation of the object suitable for debugging.

# File lib/ravn/mixins.rb, line 369
def inspect
        details = self.inspect_details
        details = ' ' + details unless details.empty? || details.start_with?( ' ' )

        return "#<%p:#%x%s>" % [
                self.class,
                self.object_id,
                details,
        ]
end
inspect_details()

Return the detail portion of the inspect output for this object.

# File lib/ravn/mixins.rb, line 382
def inspect_details
        return ''
end