Included Modules

Innate::Helper::Aspect::SingletonMethods

Public Instance Methods

add_action_wrapper(order, method_name) click to toggle source
     # File lib/innate/helper/aspect.rb, line 115
115:         def add_action_wrapper(order, method_name)
116:           if wrap = trait[:wrap]
117:             wrap.merge(SortedSet[[order, method_name.to_s]])
118:           else
119:             trait :wrap => SortedSet[[order, method_name.to_s]]
120:           end
121:         end
after(*names, &block) click to toggle source
     # File lib/innate/helper/aspect.rb, line 106
106:         def after(*names, &block)
107:           names.each{|name| AOP[self][:after][name] = block }
108:         end
after_all(&block) click to toggle source
     # File lib/innate/helper/aspect.rb, line 102
102:         def after_all(&block)
103:           AOP[self][:after_all] = block
104:         end
before(*names, &block) click to toggle source
     # File lib/innate/helper/aspect.rb, line 98
 98:         def before(*names, &block)
 99:           names.each{|name| AOP[self][:before][name] = block }
100:         end
before_all(&block) click to toggle source
    # File lib/innate/helper/aspect.rb, line 94
94:         def before_all(&block)
95:           AOP[self][:before_all] = block
96:         end
wrap(*names, &block) click to toggle source
     # File lib/innate/helper/aspect.rb, line 110
110:         def wrap(*names, &block)
111:           before(*names, &block)
112:           after(*names, &block)
113:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.