lib/glue/aspects.rb in glue-0.21.2 vs lib/glue/aspects.rb in glue-0.22.0

- old
+ new

@@ -63,9 +63,13 @@ end end_eval end end + class << self + alias_method :apply_advices, :wrap + end + # Include Modules that define advices. def self.include_advice_modules(target) for a in target.advices if a.code.is_a?(Module) and (!a.code.class.ancestors.include?(Class))