Class: P4Tools::CommandEntry
- Inherits:
-
Object
- Object
- P4Tools::CommandEntry
- Defined in:
- lib/p4tools/parsers/command_entry.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command, arguments) ⇒ CommandEntry
constructor
A new instance of CommandEntry.
Constructor Details
#initialize(command, arguments) ⇒ CommandEntry
Returns a new instance of CommandEntry.
5 6 7 8 |
# File 'lib/p4tools/parsers/command_entry.rb', line 5 def initialize(command, arguments) @command = command @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
3 4 5 |
# File 'lib/p4tools/parsers/command_entry.rb', line 3 def arguments @arguments end |
#command ⇒ Object (readonly)
Returns the value of attribute command.
3 4 5 |
# File 'lib/p4tools/parsers/command_entry.rb', line 3 def command @command end |