Class: Puppet::FileSystem::File18
- Defined in:
- lib/puppet/file_system/file18.rb
Constant Summary
Constants inherited from File
Puppet::FileSystem::File::IMPL
Instance Attribute Summary
Attributes inherited from File
Instance Method Summary collapse
Methods inherited from File
#basename, #compare_stream, #dir, #each_line, #exclusive_open, #executable?, #exist?, exist?, forget, #initialize, #lstat, #mkpath, new, #open, overlay, #read, #readlink, remember, #size, #stat, #symlink, #symlink?, #to_s, #touch, unlink, #unlink, #writable?
Constructor Details
This class inherits a constructor from Puppet::FileSystem::File
Instance Method Details
#binread ⇒ Object
2 3 4 |
# File 'lib/puppet/file_system/file18.rb', line 2 def binread ::File.open(@path, 'rb') { |f| f.read } end |