Module: FormAttribute::InstanceMethods

Defined in:
lib/form_attribute.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



69
70
71
72
# File 'lib/form_attribute.rb', line 69

def inspect
  attrs = attributes.map { |name| "#{name}: #{read_attribute(name).inspect}" }.join(', ')
  "#<#{self.class} #{attrs}>"
end