Method: Puppet::FileSystem.read

Defined in:
lib/puppet/file_system.rb

.read(path, opts = {}) ⇒ String

Returns The contents of the file.

Returns:

  • (String)

    The contents of the file



133
134
135
# File 'lib/puppet/file_system.rb', line 133

def self.read(path, opts = {})
  @impl.read(assert_path(path), opts)
end