Class: Leibniz::KitchenLoader
- Inherits:
-
Object
- Object
- Leibniz::KitchenLoader
- Defined in:
- lib/leibniz.rb
Instance Method Summary collapse
-
#initialize(specification) ⇒ KitchenLoader
constructor
A new instance of KitchenLoader.
- #read ⇒ Object
Constructor Details
#initialize(specification) ⇒ KitchenLoader
Returns a new instance of KitchenLoader.
73 74 75 76 77 78 79 80 81 |
# File 'lib/leibniz.rb', line 73 def initialize(specification) @last_octet = 11 @platforms = specification.hashes.map do |spec| create_platform(spec) end @suites = specification.hashes.map do |spec| create_suite(spec) end end |
Instance Method Details
#read ⇒ Object
83 84 85 86 87 88 89 |
# File 'lib/leibniz.rb', line 83 def read { :driver_plugin => "vagrant", :platforms => platforms, :suites => suites } end |