Class: File

Inherits:
Object show all
Defined in:
lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.binread(file) ⇒ Object



4
5
6
# File 'lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb', line 4

def self.binread(file)
  File.open(file, 'rb') { |f| f.read }
end