Class: PolishGeeks::DevTools::OutputStorer

Inherits:
OpenStruct
  • Object
show all
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

Constructor Details

#initializeOutputStorer

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