module Tr8n::Extender

Public Instance Methods

extended(mod) click to toggle source
# File lib/tr8n/extender.rb, line 26
def extended(mod)
  mod.send(:extend,  self::ClassMethods)
  mod.send(:include, self::InstanceMethods)
end
included(mod) click to toggle source
# File lib/tr8n/extender.rb, line 31
def included(mod)
  mod.send(:extend,  self::ClassMethods)
  mod.send(:include, self::InstanceMethods)
end