Class: XDry::BeforeImplementationStartIP
- Inherits:
-
InsertionPoint
- Object
- InsertionPoint
- XDry::BeforeImplementationStartIP
- Defined in:
- lib/xdry/patching/insertion_points.rb
Instance Attribute Summary
Attributes inherited from InsertionPoint
Instance Method Summary collapse
- #find! ⇒ Object
-
#initialize(oclass) ⇒ BeforeImplementationStartIP
constructor
A new instance of BeforeImplementationStartIP.
Methods inherited from InsertionPoint
Constructor Details
#initialize(oclass) ⇒ BeforeImplementationStartIP
Returns a new instance of BeforeImplementationStartIP.
78 79 80 81 |
# File 'lib/xdry/patching/insertion_points.rb', line 78 def initialize oclass @oclass = oclass super() end |
Instance Method Details
#find! ⇒ Object
83 84 85 |
# File 'lib/xdry/patching/insertion_points.rb', line 83 def find! before @oclass.main_implementation.start_node end |