Class: PlatinaWorld::Runners::Base
- Inherits:
-
Object
- Object
- PlatinaWorld::Runners::Base
- Defined in:
- lib/platina_world/runners/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(loaded_file) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(loaded_file) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/platina_world/runners/base.rb', line 6 def initialize(loaded_file) @loaded_file = loaded_file end |
Instance Method Details
#run ⇒ Object
10 11 12 |
# File 'lib/platina_world/runners/base.rb', line 10 def run file_generator.call end |