Class: SVNx::Command
Direct Known Subclasses
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
- #command_line ⇒ Object
- #execute ⇒ Object
-
#initialize(args) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(args) ⇒ Command
Returns a new instance of Command.
59 60 61 |
# File 'lib/svnx/command.rb', line 59 def initialize args @args = args end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
57 58 59 |
# File 'lib/svnx/command.rb', line 57 def output @output end |
Instance Method Details
#command_line ⇒ Object
63 64 65 |
# File 'lib/svnx/command.rb', line 63 def command_line raise "must be implemented" end |
#execute ⇒ Object
67 68 69 70 71 |
# File 'lib/svnx/command.rb', line 67 def execute cmdline = command_line cmdline.execute @output = cmdline.output end |