Sha256: 8e6086b8f59d3adf4ed5a08023fbf800144f8feb8155589e4f7b84511675103a

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 Bytes

Contents

require 'industrialist'

Industrialist.config do |config|
  config.manufacturable_paths << "#{File.dirname(__FILE__)}/automobiles"
  config.manufacturable_paths << "#{File.dirname(__FILE__)}/airplanes"
end

AutomobileFactory.build(:sedan).info
AutomobileFactory.build(:convertible).info
AutomobileFactory.build(:cabriolet).info

AirplaneFactory.build(:f16).info
AirplaneFactory.build(:tomcat).info
AirplaneFactory.build(:p51).info
AirplaneFactory.build(:mustang).info

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
industrialist-1.0.1 example/app.rb
industrialist-1.0.0 example/app.rb