Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/googletastic.rb
Instance Method Summary collapse
Instance Method Details
#include_class_and_instance_modules ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/googletastic.rb', line 17 def include_class_and_instance_modules self.module_eval <<-eos def self.included(base) base.extend(ClassMethods) base.class_eval do include InstanceMethods end end eos end |