Module: Pubcookie::UserExtensions
- Defined in:
- lib/pubcookie/user_extensions.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Called when this module is included on the given class.
Class Method Details
.included(base) ⇒ Object
Called when this module is included on the given class.
5 6 7 8 |
# File 'lib/pubcookie/user_extensions.rb', line 5 def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) end |