Class: Rmsgen::Runtime
- Inherits:
-
Object
- Object
- Rmsgen::Runtime
- Defined in:
- lib/rmsgen/runtime.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Runtime
constructor
A new instance of Runtime.
- #run! ⇒ Object
Constructor Details
#initialize(config) ⇒ Runtime
Returns a new instance of Runtime.
4 5 6 7 8 9 10 |
# File 'lib/rmsgen/runtime.rb', line 4 def initialize(config) @config = config raise "Ensure you have populated a config file" unless @config @output = config['output_file'] @notes = PolnoteGroup.fetch(polnote_source) run! end |