Class: XDry::ImplementationStartIP

Inherits:
InsertionPoint show all
Defined in:
lib/xdry/patching/insertion_points.rb

Instance Attribute Summary

Attributes inherited from InsertionPoint

#ip, #method, #node

Instance Method Summary collapse

Methods inherited from InsertionPoint

#found?, #insert

Constructor Details

#initialize(oclass) ⇒ ImplementationStartIP

Returns a new instance of ImplementationStartIP.



65
66
67
68
# File 'lib/xdry/patching/insertion_points.rb', line 65

def initialize oclass
  @oclass = oclass
  super()
end

Instance Method Details

#find!Object



70
71
72
# File 'lib/xdry/patching/insertion_points.rb', line 70

def find!
  after @oclass.main_implementation.start_node
end