Module: ActiveBlocks::Decorator::Schema
- Included in:
- ActiveBlocks::Decorator
- Defined in:
- lib/active_blocks/decorator/schema.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 |
# File 'lib/active_blocks/decorator/schema.rb', line 8 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#schema ⇒ Object
12 13 14 |
# File 'lib/active_blocks/decorator/schema.rb', line 12 def schema self.class.definitions.extend(Attributes::DefinitionsEach) end |