Method: FormAttribute::InstanceMethods#inspect

Defined in:
lib/form_attribute.rb

#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