Class: Tlux::Commands::RunCommand
- Defined in:
- lib/tlux/commands/run_command.rb
Instance Attribute Summary collapse
-
#config_name ⇒ Object
readonly
Returns the value of attribute config_name.
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
Instance Method Summary collapse
-
#initialize(config_name, dir = '') ⇒ RunCommand
constructor
A new instance of RunCommand.
- #run ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(config_name, dir = '') ⇒ RunCommand
Returns a new instance of RunCommand.
9 10 11 12 |
# File 'lib/tlux/commands/run_command.rb', line 9 def initialize(config_name, dir = '') @config_name = config_name @dir = dir end |
Instance Attribute Details
#config_name ⇒ Object (readonly)
Returns the value of attribute config_name.
7 8 9 |
# File 'lib/tlux/commands/run_command.rb', line 7 def config_name @config_name end |
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
7 8 9 |
# File 'lib/tlux/commands/run_command.rb', line 7 def dir @dir end |