# File lib/anise/annotative/methods.rb, line 105 def method_added(sym) annotations = Methods.pending_annotations[self] annotations.each do |anns, block| if block block.call(sym) else anns.each do |name, value| if name.to_s.index('/') name, ns = name.to_s.split('/') else ns = :ann end ann(sym/ns, name=>value) end end end Methods.pending_annotations[self] = [] super if defined?(super) end