Class: Astel::Rewriter::Edit
- Inherits:
-
Data
- Object
- Data
- Astel::Rewriter::Edit
- Defined in:
- lib/astel/rewriter.rb
Instance Attribute Summary collapse
-
#end_offset ⇒ Object
readonly
Returns the value of attribute end_offset.
-
#replacement ⇒ Object
readonly
Returns the value of attribute replacement.
-
#sequence ⇒ Object
readonly
Returns the value of attribute sequence.
-
#start_offset ⇒ Object
readonly
Returns the value of attribute start_offset.
Instance Method Summary collapse
Instance Attribute Details
#end_offset ⇒ Object (readonly)
Returns the value of attribute end_offset
28 29 30 |
# File 'lib/astel/rewriter.rb', line 28 def end_offset @end_offset end |
#replacement ⇒ Object (readonly)
Returns the value of attribute replacement
28 29 30 |
# File 'lib/astel/rewriter.rb', line 28 def replacement @replacement end |
#sequence ⇒ Object (readonly)
Returns the value of attribute sequence
28 29 30 |
# File 'lib/astel/rewriter.rb', line 28 def sequence @sequence end |
#start_offset ⇒ Object (readonly)
Returns the value of attribute start_offset
28 29 30 |
# File 'lib/astel/rewriter.rb', line 28 def start_offset @start_offset end |
Instance Method Details
#insertion? ⇒ Boolean
29 30 31 |
# File 'lib/astel/rewriter.rb', line 29 def insertion? start_offset == end_offset end |