Class: SamFront::Front
- Inherits:
-
Object
- Object
- SamFront::Front
- Defined in:
- lib/jenga/front.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Front
constructor
A new instance of Front.
Constructor Details
#initialize(env) ⇒ Front
Returns a new instance of Front.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/jenga/front.rb', line 7 def initialize env hash = [ { class: 'SamFront::ComponentOne', config: {} }, { class: 'SamFront::ComponentTwo', config: {} }, { class: 'SamFront::ComponentThree', config: {} } ] b = SamFront::Boostraper.new(hash) entry_point = b.get_first entry_point.run_task 1 end |