lib/puppet/pops/model/factory.rb
# Create a LiteralHash instruction from a hash, where keys and values are built
# The hash entries are added in sorted order based on key.to_s
#
Create a LiteralHash instruction from a hash, where keys and values are built
The hash entries are added in sorted order based on key.to_s
Create a LiteralHash instruction from a hash where keys and values are built The hash entries are added in sorted order based on key . to_s
def build_Hash(o)
    x = Model::LiteralHash.new
    (o.sort_by {|k,v| k.to_s}).each {|k,v| x.addEntries(build(Model::KeyedEntry.new, k, v)) }
    x
  end
def build_Hash ( o ) x = Model :: LiteralHash . new ( o . sort_by { | k , v | k . to_s } ) . each { | k , v | x . addEntries ( build ( Model :: KeyedEntry . new , k , v ) ) } x end
Create a LiteralHash instruction from a hash, where keys and values are built
The hash entries are added in sorted order based on key.to_s
Create a LiteralHash instruction from a hash where keys and values are built The hash entries are added in sorted order based on key . to_s
o
<not_specific>