Module: Recliner::PrettyInspect

Extended by:
ActiveSupport::Concern
Defined in:
lib/recliner/pretty_inspect.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#inspectObject

Returns the contents of the document as a nicely formatted string.



18
19
20
# File 'lib/recliner/pretty_inspect.rb', line 18

def inspect
  "#<#{self.class.name} #{attributes_for_inspect}>"
end