class FixtureLoaders::CardTypesLoader
Public Instance Methods
load()
click to toggle source
# File lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_types_loader.rb, line 4 def load load_fixtures_for('card_types').collect do |ct| CardTypeLoader.new('id' => ct['id']) if match?(ct) end.compact.sort_by { |loader| loader.card_type.position } end