Class: File

Inherits:
Object show all
Defined in:
lib/active_scaffold/bridges/date_picker/ext.rb

Overview

:nodoc:

Class Method Summary (collapse)

Class Method Details

+ (Object) binread(file)



4
5
6
# File 'lib/active_scaffold/bridges/date_picker/ext.rb', line 4

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