Class: Logue::Location
- Inherits:
-
Object
- Object
- Logue::Location
- Defined in:
- lib/logue/locations/location.rb
Instance Attribute Summary collapse
-
#cls ⇒ Object
readonly
Returns the value of attribute cls.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, line, cls, method) ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize(path, line, cls, method) ⇒ Location
Returns a new instance of Location.
10 11 12 13 14 15 |
# File 'lib/logue/locations/location.rb', line 10 def initialize path, line, cls, method @path = path @line = line @cls = cls @method = method end |
Instance Attribute Details
#cls ⇒ Object (readonly)
Returns the value of attribute cls.
7 8 9 |
# File 'lib/logue/locations/location.rb', line 7 def cls @cls end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
6 7 8 |
# File 'lib/logue/locations/location.rb', line 6 def line @line end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
8 9 10 |
# File 'lib/logue/locations/location.rb', line 8 def method @method end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/logue/locations/location.rb', line 5 def path @path end |