Module: Gearbox::SemanticAccessors

Defined in:
lib/gearbox/mixins/semantic_accessors.rb

Overview

These are the attributes and associations that the user adds to a model.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
# File 'lib/gearbox/mixins/semantic_accessors.rb', line 6

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