Class: XDry::BeforeInterfaceEndIP

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) ⇒ BeforeInterfaceEndIP

Returns a new instance of BeforeInterfaceEndIP.



91
92
93
94
# File 'lib/xdry/patching/insertion_points.rb', line 91

def initialize oclass
  @oclass = oclass
  super()
end

Instance Method Details

#find!Object



96
97
98
# File 'lib/xdry/patching/insertion_points.rb', line 96

def find!
  before @oclass.main_interface.end_node
end