Method: Datamappify::Data::Mapper#classified_attributes
- Defined in:
- lib/datamappify/data/mapper.rb
#classified_attributes ⇒ Hash<Set>
Returns attribute sets classified by the names of their data provider.
56 57 58 |
# File 'lib/datamappify/data/mapper.rb', line 56 def classified_attributes @classified_attributes ||= Set.new(attributes).classify(&:provider_name) end |