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
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def column @column end |
#confidence ⇒ Object
Returns the value of attribute confidence
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def confidence @confidence end |
#deprecated_in ⇒ Object
Returns the value of attribute deprecated_in
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def deprecated_in @deprecated_in end |
#effort ⇒ Object
Returns the value of attribute effort
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def effort @effort end |
#end_column ⇒ Object
Returns the value of attribute end_column
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def end_column @end_column end |
#end_line ⇒ Object
Returns the value of attribute end_line
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def end_line @end_line end |
#file_path ⇒ Object
Returns the value of attribute file_path
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def file_path @file_path end |
#gem ⇒ Object
Returns the value of attribute gem
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def gem @gem end |
#id ⇒ Object
Returns the value of attribute id
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def id @id end |
#line ⇒ Object
Returns the value of attribute line
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def line @line end |
#reference ⇒ Object
Returns the value of attribute reference
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def reference @reference end |
#removed_in ⇒ Object
Returns the value of attribute removed_in
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def removed_in @removed_in end |
#snippet ⇒ Object
Returns the value of attribute snippet
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def snippet @snippet end |
#source_line ⇒ Object
Returns the value of attribute source_line
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def source_line @source_line end |
#suggestion ⇒ Object
Returns the value of attribute suggestion
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def suggestion @suggestion end |
#summary ⇒ Object
Returns the value of attribute summary
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title
123 124 125 |
# File 'lib/deprecool/finder.rb', line 123 def title @title end |
Instance Method Details
#location ⇒ Object
127 128 129 |
# File 'lib/deprecool/finder.rb', line 127 def location "#{file_path}:#{line}:#{column + 1}" end |