Class: File

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

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.binread(file) ⇒ Object



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

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