Class: Benry::ActionRunner::MainApplication

Inherits:
CmdApp::Application
  • Object
show all
Defined in:
lib/benry/actionrunner.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, **kwargs) ⇒ MainApplication

Returns a new instance of MainApplication.



132
133
134
135
136
137
138
139
# File 'lib/benry/actionrunner.rb', line 132

def initialize(*args, **kwargs)
  super
  @flag_search = false                 # true when '-s' option specified
  @flag_chdir  = false                 # true when '-w' option specified
  @action_file = DEFAULT_FILENAME      # ex: 'Actionfile.rb'
  @global_vars = {}                    # names and values of global vars
  @_loaded     = false                 # true when action file loaded
end