Class: RunConfig
Overview
run configrun config
c = RunConfig.new("test")
c.run_user_config
c.run_local_config
Instance Method Summary collapse
-
#initialize(name) ⇒ RunConfig
constructor
A new instance of RunConfig.
- #run_local_config ⇒ Object
- #run_user_config ⇒ Object
Constructor Details
#initialize(name) ⇒ RunConfig
Returns a new instance of RunConfig.
229 230 231 |
# File 'lib/el4r/el4r-sub.rb', line 229 def initialize(name) @name = name end |
Instance Method Details
#run_local_config ⇒ Object
237 238 239 240 241 242 243 244 245 |
# File 'lib/el4r/el4r-sub.rb', line 237 def run_local_config rcs = [] rcs.push ".#{@name}rc" rcs.push "#{@name}.rc" rcs.push "_#{@name}rc" rcs.push "$#{@name}rc" rcs.push "#{@name}rc" run_config rcs end |