Exception: Transpec::ContextError
- Inherits:
-
ConversionError
- Object
- StandardError
- ConversionError
- Transpec::ContextError
- Defined in:
- lib/transpec/conversion_error.rb
Instance Attribute Summary
Attributes included from Annotatable
Instance Method Summary collapse
-
#initialize(old_syntax, new_syntax, source_range) ⇒ ContextError
constructor
A new instance of ContextError.
Methods included from Annotatable
Constructor Details
#initialize(old_syntax, new_syntax, source_range) ⇒ ContextError
Returns a new instance of ContextError.
11 12 13 14 |
# File 'lib/transpec/conversion_error.rb', line 11 def initialize(old_syntax, new_syntax, source_range) = (old_syntax, new_syntax) super(, source_range) end |