Class: InspectorDragit::ActiveRecord::AttributeBuilder

Inherits:
Array
  • Object
show all
Defined in:
lib/inspector_dragit/active_record.rb

Instance Method Summary collapse

Instance Method Details

#add(label, attr) ⇒ Object



4
5
6
# File 'lib/inspector_dragit/active_record.rb', line 4

def add(label, attr)
  self << {:label => label,:attr => attr}
end