Method: TheUsual.included

Defined in:
lib/theusual.rb

.included(base) ⇒ Object



82
83
84
85
86
87
88
# File 'lib/theusual.rb', line 82

def self.included base
  @include_fns.each do |name|
    base.send :define_method, name do |*args|
      TheUsual.method(name).send *args
    end
  end
end