Class: Perforce2Svn::Mapping::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/perforce2svn/mapping/operation.rb

Direct Known Subclasses

BranchMapping, Command

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tok) ⇒ Operation

Returns a new instance of Operation.



4
5
6
# File 'lib/perforce2svn/mapping/operation.rb', line 4

def initialize(tok)
  @line_number = tok.line_number
end

Instance Attribute Details

#line_numberObject (readonly)

Returns the value of attribute line_number.



3
4
5
# File 'lib/perforce2svn/mapping/operation.rb', line 3

def line_number
  @line_number
end