Module: Trax::Model::MTI::Namespace
- Extended by:
- Core::EagerAutoloadNamespace
- Defined in:
- lib/trax/model/mti/namespace.rb
Class Attribute Summary collapse
-
.base_mti_model ⇒ Object
readonly
Returns the value of attribute base_mti_model.
Class Method Summary collapse
Class Attribute Details
.base_mti_model ⇒ Object (readonly)
Returns the value of attribute base_mti_model.
8 9 10 |
# File 'lib/trax/model/mti/namespace.rb', line 8 def base_mti_model @base_mti_model end |
Class Method Details
.all ⇒ Object
15 16 17 |
# File 'lib/trax/model/mti/namespace.rb', line 15 def self.all @all ||= base_mti_model.subclasses end |
.base_model(model) ⇒ Object
11 12 13 |
# File 'lib/trax/model/mti/namespace.rb', line 11 def self.base_model(model) @base_mti_model = model end |