Exception: RSTError
- Inherits:
-
StandardError
- Object
- StandardError
- RSTError
- Defined in:
- lib/rsyntaxtree.rb
Instance Method Summary collapse
-
#initialize(msg = "Error: something unexpected occurred") ⇒ RSTError
constructor
A new instance of RSTError.
Constructor Details
#initialize(msg = "Error: something unexpected occurred") ⇒ RSTError
Returns a new instance of RSTError.
34 35 36 37 |
# File 'lib/rsyntaxtree.rb', line 34 def initialize(msg = "Error: something unexpected occurred") msg.gsub!(WHITESPACE_BLOCK, "<>") super msg end |