Class: Pikeman::Error
- Inherits:
-
Struct
- Object
- Struct
- Pikeman::Error
- Defined in:
- lib/pikeman.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#column ⇒ Object
Returns the value of attribute column.
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#line ⇒ Object
Returns the value of attribute line.
-
#linetext ⇒ Object
Returns the value of attribute linetext.
-
#link ⇒ Object
Returns the value of attribute link.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(filename:, line:, column:, text:, link:, confidence:, linetext:, category:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(filename:, line:, column:, text:, link:, confidence:, linetext:, category:) ⇒ Error
Returns a new instance of Error.
7 8 9 |
# File 'lib/pikeman.rb', line 7 def initialize(filename:, line:, column:, text:, link:, confidence:, linetext:, category:) super(filename, line, column, text, link, confidence, linetext, category) end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
6 7 8 |
# File 'lib/pikeman.rb', line 6 def category @category end |
#column ⇒ Object
Returns the value of attribute column
6 7 8 |
# File 'lib/pikeman.rb', line 6 def column @column end |
#confidence ⇒ Object
Returns the value of attribute confidence
6 7 8 |
# File 'lib/pikeman.rb', line 6 def confidence @confidence end |
#filename ⇒ Object
Returns the value of attribute filename
6 7 8 |
# File 'lib/pikeman.rb', line 6 def filename @filename end |
#line ⇒ Object
Returns the value of attribute line
6 7 8 |
# File 'lib/pikeman.rb', line 6 def line @line end |
#linetext ⇒ Object
Returns the value of attribute linetext
6 7 8 |
# File 'lib/pikeman.rb', line 6 def linetext @linetext end |
#link ⇒ Object
Returns the value of attribute link
6 7 8 |
# File 'lib/pikeman.rb', line 6 def link @link end |
#text ⇒ Object
Returns the value of attribute text
6 7 8 |
# File 'lib/pikeman.rb', line 6 def text @text end |