Class: Klenod::Build::SourceLocation
- Inherits:
-
Data
- Object
- Data
- Klenod::Build::SourceLocation
- Defined in:
- lib/klenod/build/dependency.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
5 6 7 |
# File 'lib/klenod/build/dependency.rb', line 5 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
5 6 7 |
# File 'lib/klenod/build/dependency.rb', line 5 def line @line end |
#path ⇒ Object (readonly)
Returns the value of attribute path
5 6 7 |
# File 'lib/klenod/build/dependency.rb', line 5 def path @path end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/klenod/build/dependency.rb', line 7 def to_s [path, line, column].compact.join(":") end |