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
Returns a new instance of Call.
43 44 45 |
# File 'lib/scmd.rb', line 43 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
42 43 44 |
# File 'lib/scmd.rb', line 42 def cmd @cmd end |
#cmd_str ⇒ Object
Returns the value of attribute cmd_str
42 43 44 |
# File 'lib/scmd.rb', line 42 def cmd_str @cmd_str end |
#input ⇒ Object
Returns the value of attribute input
42 43 44 |
# File 'lib/scmd.rb', line 42 def input @input end |