lib/cfa/augeas_parser/reader.rb
# loads value from auges. If value have tree under, it will also read it
loads value from auges. If value have tree under, it will also read it
loads value from auges . If value have tree under it will also read it
def load_value(aug, aug_key, keys_cache)
        subkeys = keys_cache.keys_for_prefix(aug_key)
        nested = !subkeys.empty?
        value = aug.get(aug_key)
        if nested
          subtree = AugeasTree.new
          load_tree(aug, aug_key, subtree, keys_cache)
          value ? AugeasTreeValue.new(subtree, value) : subtree
        else
          value
        end
      end
def load_value ( aug , aug_key , keys_cache ) subkeys = keys_cache . keys_for_prefix ( aug_key ) nested = ! subkeys . empty? value = aug . get ( aug_key ) if nested subtree = AugeasTree . new load_tree ( aug , aug_key , subtree , keys_cache ) value ? AugeasTreeValue . new ( subtree , value ) : subtree else value end end
loads value from auges.
loads value from auges .
aug
<not_specific>
aug_key
<not_specific>
keys_cache
<not_specific>