class AnnotateYaml::YamlHashExplorer
Attributes
result[R]
Public Class Methods
new(hash)
click to toggle source
# File lib/annotate_yaml/annotate_yaml.rb, line 9 def initialize(hash) @result = [] yaml_navigation(hash, []) end
Private Instance Methods
desired_terminatory_value?(value)
click to toggle source
# File lib/annotate_yaml/annotate_yaml.rb, line 26 def desired_terminatory_value?(value) !(value.nil? || value.is_a?(Hash) || value.is_a?(Array)) end