Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/wtch/vendor/thor/core_ext/file_binary_read.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.binread(file) ⇒ Object
4 5 6 |
# File 'lib/wtch/vendor/thor/core_ext/file_binary_read.rb', line 4 def self.binread(file) File.open(file, 'rb') { |f| f.read } end |