Method: FluentFixtures::Collection#load
- Defined in:
- lib/fluent_fixtures/collection.rb
#load(*types) ⇒ Object
Load fixtures of the specified types
.
58 59 60 61 62 63 |
# File 'lib/fluent_fixtures/collection.rb', line 58 def load( *types ) types.each do |type| requirename = File.join( self.fixture_path_prefix, type.to_s ) require( requirename ) end end |