Class: FixtureLoaders::PropertyValuesLoader

Inherits:
Base
  • Object
show all
Defined in:
lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_values_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

#loadObject



4
5
6
7
8
# File 'lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_values_loader.rb', line 4

def load
  load_fixtures_for('property_values').collect do |pv|
    Mingle::PropertyValue.new(OpenStruct.new(pv)) if match?(pv)
  end.compact
end