Class: CC::Yaml::Nodes::NestedConfig
- Inherits:
-
OpenMapping
- Object
- Node
- Mapping
- OpenMapping
- CC::Yaml::Nodes::NestedConfig
- Defined in:
- lib/cc/yaml/nodes/nested_config.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Mapping
Mapping::INCOMPATIBLE_KEYS_WARNING
Instance Attribute Summary
Attributes inherited from Mapping
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from OpenMapping
#accept_key?, default_type, #subnode_for
Methods inherited from Mapping
#==, #[], #[]=, #accept_key?, aliases, #deep_verify, define_map_accessor, #each_scalar, #empty?, #include?, #inspect, map, #mapped_key, mapping, #nested_warnings, prefix_scalar, #prepare, required, #set_warnings, #subnode_for, subnode_for_key, #verify, #verify_errors, #verify_required, #visit_mapping, #visit_pair, #with_value!
Methods inherited from Node
#as_json, #deep_verify, #dup, #error, #errors, #errors?, has_default?, #initialize, #method_missing, #nested_warning, #nested_warnings, #prepare, #respond_to_missing?, #to_s, #verify, #visit_child, #visit_mapping, #visit_pair, #visit_scalar, #visit_sequence, #visit_unexpected, #warning, #warnings, #warnings?, #with_value
Constructor Details
This class inherits a constructor from CC::Yaml::Nodes::Node
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CC::Yaml::Nodes::Node
Instance Method Details
#visit_key_value(visitor, key, value) ⇒ Object
5 6 7 8 |
# File 'lib/cc/yaml/nodes/nested_config.rb', line 5 def visit_key_value(visitor, key, value) node = subnode_for_pair(visitor, key, value) assign_node_and_visit(node, key, value, visitor) end |