Method: Evil::Client::Schema::Scope#scopes
- Defined in:
- lib/evil/client/schema/scope.rb
#scopes(*_args) ⇒ Hash<Symbol, Class>
The collection of named sub-scope schemas
Every sub-scope schema refers to the current one as a [#parent]
23 24 25 |
# File 'lib/evil/client/schema/scope.rb', line 23 def scopes(*_args) @__children__.reject { |_, child| child.leaf? } end |