lib/bolt/target.rb in bolt-0.16.1 vs lib/bolt/target.rb in bolt-0.16.2
- old
+ new
@@ -8,17 +8,9 @@
# Satisfies the Puppet datatypes API
def self.from_asserted_hash(hash)
new(hash['uri'], hash['options'])
end
- def self.from_uri(uri)
- new(uri)
- end
-
- def self.parse_urls(urls)
- urls.split(/[[:space:],]+/).reject(&:empty?).uniq.map { |url| from_uri(url) }
- end
-
def initialize(uri, options = nil)
@uri = uri
@uri_obj = parse(uri)
@options = options || {}
end