Class: Perforce2Svn::Mapping::Operation
- Inherits:
-
Object
- Object
- Perforce2Svn::Mapping::Operation
- Defined in:
- lib/perforce2svn/mapping/operation.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#line_number ⇒ Object
readonly
Returns the value of attribute line_number.
Instance Method Summary collapse
-
#initialize(tok) ⇒ Operation
constructor
A new instance of Operation.
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_number ⇒ Object (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 |