Class: Decode::Location
- Inherits:
-
Struct
- Object
- Struct
- Decode::Location
- Defined in:
- lib/decode/location.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line
7 8 9 |
# File 'lib/decode/location.rb', line 7 def line @line end |
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/decode/location.rb', line 7 def path @path end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/decode/location.rb', line 8 def to_s "#{path}:#{line}" end |