Class: FixtureLoaders::PropertyDefinitionsLoader
- Defined in:
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definitions_loader.rb
Instance Method Summary collapse
Methods inherited from Base
#initialize, #load_fixtures_for, #match?
Constructor Details
This class inherits a constructor from FixtureLoaders::Base
Instance Method Details
#load ⇒ Object
4 5 6 7 8 |
# File 'lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definitions_loader.rb', line 4 def load load_fixtures_for('property_definitions').collect do |pd| PropertyDefinitionLoader.new('id' => pd['id']) if match?(pd) end.compact end |