Class: PlatinaWorld::Runners::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/platina_world/runners/base.rb

Direct Known Subclasses

Dry, Production

Instance Method Summary collapse

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

#runObject



10
11
12
# File 'lib/platina_world/runners/base.rb', line 10

def run
  file_generator.call
end