Class: MVCLI::Command
- Inherits:
-
Object
- Object
- MVCLI::Command
- Defined in:
- lib/mvcli/command.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
readonly
Returns the value of attribute argv.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#log ⇒ Object
readonly
Returns the value of attribute log.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(argv, input, output, log, env) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(argv, input, output, log, env) ⇒ Command
Returns a new instance of Command.
5 6 7 |
# File 'lib/mvcli/command.rb', line 5 def initialize(argv, input, output, log, env) @argv, @input, @output, @log, @env = argv, input, output, log, env end |
Instance Attribute Details
#argv ⇒ Object (readonly)
Returns the value of attribute argv.
3 4 5 |
# File 'lib/mvcli/command.rb', line 3 def argv @argv end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
3 4 5 |
# File 'lib/mvcli/command.rb', line 3 def env @env end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
3 4 5 |
# File 'lib/mvcli/command.rb', line 3 def input @input end |
#log ⇒ Object (readonly)
Returns the value of attribute log.
3 4 5 |
# File 'lib/mvcli/command.rb', line 3 def log @log end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
3 4 5 |
# File 'lib/mvcli/command.rb', line 3 def output @output end |