Class: RetroIDL::ASN::Location
- Inherits:
-
Object
- Object
- RetroIDL::ASN::Location
- Defined in:
- lib/retro_idl/asn/location.rb
Instance Attribute Summary collapse
-
#fileName ⇒ Object
readonly
Returns the value of attribute fileName.
Instance Method Summary collapse
-
#initialize(fileName, firstLine, lastLine, firstCol, lastCol) ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize(fileName, firstLine, lastLine, firstCol, lastCol) ⇒ Location
Returns a new instance of Location.
3 4 5 6 7 8 9 |
# File 'lib/retro_idl/asn/location.rb', line 3 def initialize(fileName, firstLine, lastLine, firstCol, lastCol) @fileName = fileName @firstLine = firstLine @lastLine = lastLine @firstCol = firstCol @lastCol = lastCol end |
Instance Attribute Details
#fileName ⇒ Object (readonly)
Returns the value of attribute fileName.
2 3 4 |
# File 'lib/retro_idl/asn/location.rb', line 2 def fileName @fileName end |