Sha256: 11c1d0a5f65f5d17c7d55a88a9a436ea6ec4919c4f12a67438ea66f70c21a31a
Contents?: true
Size: 490 Bytes
Versions: 120
Compression:
Stored size: 490 Bytes
Contents
require 'set' require_relative '../../puppet/network/format_support' class Puppet::Util::TagSet < Set include Puppet::Network::FormatSupport def self.from_yaml(yaml) self.new(Puppet::Util::Yaml.safe_load(yaml, [Symbol])) end def to_yaml @hash.keys.to_yaml end def self.from_data_hash(data) self.new(data) end # TODO: A method named #to_data_hash should not return an array def to_data_hash to_a end def join(*args) to_a.join(*args) end end
Version data entries
120 entries across 120 versions & 1 rubygems