Class: P4Tools::CommandEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/p4tools/parsers/command_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentsObject (readonly)

Returns the value of attribute arguments.



3
4
5
# File 'lib/p4tools/parsers/command_entry.rb', line 3

def arguments
  @arguments
end

#commandObject (readonly)

Returns the value of attribute command.



3
4
5
# File 'lib/p4tools/parsers/command_entry.rb', line 3

def command
  @command
end