Method: Holotype::InstanceMethods#inspect

Defined in:
lib/holotype.rb

#inspectObject



126
127
128
129
130
131
132
# File 'lib/holotype.rb', line 126

def inspect
  data = to_hash
           .map { |attribute, value| "#{attribute}: #{value.inspect}" }
           .join(', ')

  "#{self.class.name}(#{data})"
end