Module: ProtectedParent

Defined in:
lib/protected_parent/protected_parent_of.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/protected_parent/protected_parent_of.rb', line 3

def self.included(base)
  base.send :extend, ClassMethods
  base.send :include, InstanceMethods
end