Class: CC::Yaml::Nodes::GlobList

Inherits:
Sequence show all
Defined in:
lib/cc/yaml/nodes/glob_list.rb

Instance Attribute Summary

Attributes inherited from Sequence

#children

Attributes inherited from Node

#parent

Instance Method Summary collapse

Methods inherited from Sequence

#==, [], #add_value, #add_value!, #deep_verify, #each_scalar, #empty?, #identifier, #inspect, #nested_warnings, #prepare, #to_s, type, #verify, #verify_children, #visit_child, #visit_mapping, #visit_scalar, #visit_sequence, #with_value, #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

#allow_child?(child) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/cc/yaml/nodes/glob_list.rb', line 7

def allow_child?(child)
  !child.value.nil?
end