lib/faml/error.rb in faml-0.2.6 vs lib/faml/error.rb in faml-0.2.7
- old
+ new
@@ -1,7 +1,8 @@
module Faml
class Error < StandardError
- attr_reader :lineno
+ attr_accessor :lineno
+
def initialize(message, lineno)
super(message)
@lineno = lineno
end
end