Module: Mimi::Core::InheritableProperty

Defined in:
lib/mimi/core/inheritable_property.rb

Overview

Makes .inheritable_property method available to the class.

Example:

class A
  include Mimi::Core::InheritableProperty

  inheritable_property :my_var
end

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



20
21
22
# File 'lib/mimi/core/inheritable_property.rb', line 20

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