# File lib/anise/annotative/methods.rb, line 64 def method_annotator(name, &block) (class << self; self; end).module_eval do define_method(name) do |*args| anns = { name => (args.size > 1 ? args : args.first) } Methods.pending_annotations[self] << [anns, block] end end end