Exception: Fned::EditList::InvalidLine
- Inherits:
-
StandardError
- Object
- StandardError
- Fned::EditList::InvalidLine
- Defined in:
- lib/fned/edit_list.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(message, line) ⇒ InvalidLine
constructor
A new instance of InvalidLine.
- #to_s ⇒ Object
Constructor Details
#initialize(message, line) ⇒ InvalidLine
Returns a new instance of InvalidLine.
24 25 26 27 |
# File 'lib/fned/edit_list.rb', line 24 def initialize(, line) @line = line super() end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
22 23 24 |
# File 'lib/fned/edit_list.rb', line 22 def line @line end |
Instance Method Details
#to_s ⇒ Object
29 30 31 |
# File 'lib/fned/edit_list.rb', line 29 def to_s super + " on line #{line}" end |