Class: Axn::Internal::SubfieldTree::Node
- Inherits:
-
Data
- Object
- Data
- Axn::Internal::SubfieldTree::Node
- Defined in:
- lib/axn/internal/subfield_tree.rb
Overview
configs is empty for an implicit node. Multiple configs on one node means the same wire
path was declared via two routes (e.g. expects :baz, on: "foo.bar" and expects :baz, on: :bar where bar is itself a subfield of foo); runtime validates each independently, so
consumers must honor all of them.
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#configs ⇒ Object
readonly
Returns the value of attribute configs.
Instance Method Summary collapse
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children
21 22 23 |
# File 'lib/axn/internal/subfield_tree.rb', line 21 def children @children end |
#configs ⇒ Object (readonly)
Returns the value of attribute configs
21 22 23 |
# File 'lib/axn/internal/subfield_tree.rb', line 21 def configs @configs end |
Instance Method Details
#config ⇒ Object
22 |
# File 'lib/axn/internal/subfield_tree.rb', line 22 def config = configs.first |
#implicit? ⇒ Boolean
23 |
# File 'lib/axn/internal/subfield_tree.rb', line 23 def implicit? = configs.empty? |