Class: Prosereflect::Transform::StepMap::Result
- Inherits:
-
Struct
- Object
- Struct
- Prosereflect::Transform::StepMap::Result
- Defined in:
- lib/prosereflect/transform/step_map.rb
Overview
Result of mapping a position
Instance Attribute Summary collapse
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#transformed ⇒ Object
Returns the value of attribute transformed.
Instance Method Summary collapse
-
#initialize(pos: 0, deleted: false, transformed: false) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(pos: 0, deleted: false, transformed: false) ⇒ Result
Returns a new instance of Result.
109 110 111 |
# File 'lib/prosereflect/transform/step_map.rb', line 109 def initialize(pos: 0, deleted: false, transformed: false) super end |
Instance Attribute Details
#deleted ⇒ Object
Returns the value of attribute deleted
108 109 110 |
# File 'lib/prosereflect/transform/step_map.rb', line 108 def deleted @deleted end |
#pos ⇒ Object
Returns the value of attribute pos
108 109 110 |
# File 'lib/prosereflect/transform/step_map.rb', line 108 def pos @pos end |
#transformed ⇒ Object
Returns the value of attribute transformed
108 109 110 |
# File 'lib/prosereflect/transform/step_map.rb', line 108 def transformed @transformed end |