Module: ClassAttribute

Defined in:
lib/class_attribute.rb,
lib/class_attribute/version.rb

Overview

Inheritable class level variable accessors.

See Also:

Author:

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
'0.1.2'.freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
# File 'lib/class_attribute.rb', line 11

def self.included(base)
  base.extend ClassMethods
end