Module: Declarative::Schema
- Defined in:
- lib/declarative/schema.rb
Overview
Include this to maintain inheritable, nested schemas with ::defaults and ::feature the way we have it in Representable, Reform, and Disposable.
The schema with its defnitions will be kept in ::definitions.
Requirements to includer: ::default_nested_class, override building with ::nested_builder.
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.extended(extender) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/declarative/schema.rb', line 14 def self.extended(extender) extender.extend DSL # ::property extender.extend Feature # ::feature extender.extend Heritage::DSL # ::heritage extender.extend Heritage::Inherited # ::included end |