Class: Transpec::AccuracyAnnotation
- Inherits:
-
Annotation
- Object
- Annotation
- Transpec::AccuracyAnnotation
- Defined in:
- lib/transpec/record.rb
Instance Attribute Summary
Attributes included from Annotatable
Instance Method Summary collapse
-
#initialize(source_range) ⇒ AccuracyAnnotation
constructor
A new instance of AccuracyAnnotation.
Methods included from Annotatable
Constructor Details
#initialize(source_range) ⇒ AccuracyAnnotation
Returns a new instance of AccuracyAnnotation.
141 142 143 144 145 146 147 |
# File 'lib/transpec/record.rb', line 141 def initialize(source_range) = "The `#{source_range.source}` has been converted " \ 'but it might possibly be incorrect ' \ 'due to a lack of runtime information. ' \ "It's recommended to review the change carefully." super(, source_range) end |