Sha256: 66eeb02b92ee27109382babfd27bac887c006aa9445262d9186496dc922fe70b
Contents?: true
Size: 433 Bytes
Versions: 164
Compression:
Stored size: 433 Bytes
Contents
require 'set' require 'puppet/network/format_support' class Puppet::Util::TagSet < Set include Puppet::Network::FormatSupport def self.from_yaml(yaml) self.new(YAML.load(yaml)) end def to_yaml @hash.keys.to_yaml end def self.from_data_hash(data) self.new(data) end def to_data_hash to_a end def to_pson(*args) to_data_hash.to_pson end def join(*args) to_a.join(*args) end end
Version data entries
164 entries across 164 versions & 2 rubygems