Method: Puppet::FileServing::Content.from_binary

Defined in:
lib/puppet/file_serving/content.rb

.from_binary(content) ⇒ Object



20
21
22
23
24
# File 'lib/puppet/file_serving/content.rb', line 20

def self.from_binary(content)
  instance = new("/this/is/a/fake/path")
  instance.content = content
  instance
end