Class: FiberAudit::Location
- Inherits:
-
Data
- Object
- Data
- FiberAudit::Location
- Defined in:
- lib/fiber_audit/findings/location.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
4 5 6 |
# File 'lib/fiber_audit/findings/location.rb', line 4 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
4 5 6 |
# File 'lib/fiber_audit/findings/location.rb', line 4 def line @line end |
#path ⇒ Object (readonly)
Returns the value of attribute path
4 5 6 |
# File 'lib/fiber_audit/findings/location.rb', line 4 def path @path end |
Instance Method Details
#to_h_for_json ⇒ Object
5 6 7 |
# File 'lib/fiber_audit/findings/location.rb', line 5 def to_h_for_json { path: path, line: line, column: column } end |