# File lib/innate/helper/aspect.rb, line 115 def add_action_wrapper(order, method_name) if wrap = trait[:wrap] wrap.merge(SortedSet[[order, method_name.to_s]]) else trait :wrap => SortedSet[[order, method_name.to_s]] end end
# File lib/innate/helper/aspect.rb, line 106 def after(*names, &block) names.each{|name| AOP[self][:after][name] = block } end
# File lib/innate/helper/aspect.rb, line 102 def after_all(&block) AOP[self][:after_all] = block end
# File lib/innate/helper/aspect.rb, line 98 def before(*names, &block) names.each{|name| AOP[self][:before][name] = block } end
Generated with the Darkfish Rdoc Generator 2.