module SimpleAnnotation::Annotatable

Public Class Methods

included(mod) click to toggle source
# File lib/simple_annotation/annotatable.rb, line 7
def self.included(mod)
  mod.instance_variable_set(:@__method_to_annotations, Hash.new { |h, k| h[k] = Set.new })
  mod.instance_variable_set(:@__standby_annotations, [])
  mod.extend ClassMethods
end