# File lib/facets/more/cut.rb, line 300 def included( base ) base.cuts.each do |cut| cut.included(self) #next unless base_points = cut.join #points = Hash.new{ |h,k| h[k] = [] } #instance_methods.each do |method| # base_points.each do |advice, pointcut| # if advice = pointcut[method.to_s] # points[advice] << method # end # end #end #cut.join( points ) end end