Module: SchemaTools::Modules::Attributes
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/schema_tools/modules/attributes.rb
Overview
Add schema properties to a class by including this module and defining from which schema to inherit attributes.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#schema_attrs ⇒ Object
9 10 11 |
# File 'lib/schema_tools/modules/attributes.rb', line 9 def schema_attrs @schema_attrs ||= {} end |