Class: Txray::Frame
- Inherits:
-
Struct
- Object
- Struct
- Txray::Frame
- Defined in:
- lib/txray/offense.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#line ⇒ Object
Returns the value of attribute line.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
4 5 6 |
# File 'lib/txray/offense.rb', line 4 def label @label end |
#line ⇒ Object
Returns the value of attribute line
4 5 6 |
# File 'lib/txray/offense.rb', line 4 def line @line end |
#path ⇒ Object
Returns the value of attribute path
4 5 6 |
# File 'lib/txray/offense.rb', line 4 def path @path end |
Instance Method Details
#to_s ⇒ Object
5 |
# File 'lib/txray/offense.rb', line 5 def to_s = "#{label} (#{path}:#{line})" |