Class: PolishGeeks::DevTools::OutputStorer
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PolishGeeks::DevTools::OutputStorer
- Defined in:
- lib/polish_geeks/dev_tools/output_storer.rb
Overview
Class used to store output from every executed command We store this data because it might be used by other commands
Instance Method Summary collapse
-
#initialize ⇒ OutputStorer
constructor
Creates a result storer instance.
Constructor Details
#initialize ⇒ OutputStorer
Creates a result storer instance
9 10 11 12 13 14 |
# File 'lib/polish_geeks/dev_tools/output_storer.rb', line 9 def initialize init = {} Config::COMMANDS.each { |command| init[command] = '' } super(init) end |