Class: Scmd::Call
- Inherits:
-
Struct
- Object
- Struct
- Scmd::Call
- Defined in:
- lib/scmd.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
Returns the value of attribute cmd.
-
#cmd_str ⇒ Object
Returns the value of attribute cmd_str.
-
#input ⇒ Object
Returns the value of attribute input.
Instance Method Summary collapse
-
#initialize(cmd_spy, input) ⇒ Call
constructor
A new instance of Call.
Constructor Details
#initialize(cmd_spy, input) ⇒ Call
45 46 47 |
# File 'lib/scmd.rb', line 45 def initialize(cmd_spy, input) super(cmd_spy.cmd_str, input, cmd_spy) end |
Instance Attribute Details
#cmd ⇒ Object
Returns the value of attribute cmd
44 45 46 |
# File 'lib/scmd.rb', line 44 def cmd @cmd end |
#cmd_str ⇒ Object
Returns the value of attribute cmd_str
44 45 46 |
# File 'lib/scmd.rb', line 44 def cmd_str @cmd_str end |
#input ⇒ Object
Returns the value of attribute input
44 45 46 |
# File 'lib/scmd.rb', line 44 def input @input end |