Class: Schematist::DSL::SchemaBuilders::SchemaBlock
- Inherits:
-
Struct
- Object
- Struct
- Schematist::DSL::SchemaBuilders::SchemaBlock
- Defined in:
- lib/schematist/dsl/schema_builders.rb
Overview
What a schema block yields: the schemas declared in it, and the keywords set on the enclosing node
Instance Attribute Summary collapse
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#schemas ⇒ Object
Returns the value of attribute schemas.
Instance Attribute Details
#keywords ⇒ Object
Returns the value of attribute keywords
7 8 9 |
# File 'lib/schematist/dsl/schema_builders.rb', line 7 def keywords @keywords end |
#schemas ⇒ Object
Returns the value of attribute schemas
7 8 9 |
# File 'lib/schematist/dsl/schema_builders.rb', line 7 def schemas @schemas end |