Class: Deprecool::Finder::Offense
- Inherits:
-
Struct
- Object
- Struct
- Deprecool::Finder::Offense
- Defined in:
- lib/deprecool/finder.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#deprecated_in ⇒ Object
Returns the value of attribute deprecated_in.
-
#effort ⇒ Object
Returns the value of attribute effort.
-
#end_column ⇒ Object
Returns the value of attribute end_column.
-
#end_line ⇒ Object
Returns the value of attribute end_line.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#gem ⇒ Object
Returns the value of attribute gem.
-
#id ⇒ Object
Returns the value of attribute id.
-
#line ⇒ Object
Returns the value of attribute line.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#removed_in ⇒ Object
Returns the value of attribute removed_in.
-
#snippet ⇒ Object
Returns the value of attribute snippet.
-
#source_line ⇒ Object
Returns the value of attribute source_line.
-
#suggestion ⇒ Object
Returns the value of attribute suggestion.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def column @column end |
#confidence ⇒ Object
Returns the value of attribute confidence
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def confidence @confidence end |
#deprecated_in ⇒ Object
Returns the value of attribute deprecated_in
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def deprecated_in @deprecated_in end |
#effort ⇒ Object
Returns the value of attribute effort
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def effort @effort end |
#end_column ⇒ Object
Returns the value of attribute end_column
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def end_column @end_column end |
#end_line ⇒ Object
Returns the value of attribute end_line
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def end_line @end_line end |
#file_path ⇒ Object
Returns the value of attribute file_path
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def file_path @file_path end |
#gem ⇒ Object
Returns the value of attribute gem
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def gem @gem end |
#id ⇒ Object
Returns the value of attribute id
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def id @id end |
#line ⇒ Object
Returns the value of attribute line
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def line @line end |
#reference ⇒ Object
Returns the value of attribute reference
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def reference @reference end |
#removed_in ⇒ Object
Returns the value of attribute removed_in
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def removed_in @removed_in end |
#snippet ⇒ Object
Returns the value of attribute snippet
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def snippet @snippet end |
#source_line ⇒ Object
Returns the value of attribute source_line
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def source_line @source_line end |
#suggestion ⇒ Object
Returns the value of attribute suggestion
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def suggestion @suggestion end |
#summary ⇒ Object
Returns the value of attribute summary
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title
120 121 122 |
# File 'lib/deprecool/finder.rb', line 120 def title @title end |
Instance Method Details
#location ⇒ Object
124 125 126 |
# File 'lib/deprecool/finder.rb', line 124 def location "#{file_path}:#{line}:#{column + 1}" end |