Module: Schema::Arrays::ClassMethods
- Defined in:
- lib/schema/arrays.rb
Overview
adds from_array method to the class
Instance Method Summary collapse
Instance Method Details
#from_array(array, mapped_headers) ⇒ Object
12 13 14 |
# File 'lib/schema/arrays.rb', line 12 def from_array(array, mapped_headers) new.update_attributes_with_array(array, mapped_headers) end |