Class: File

Inherits:
Object show all
Defined in:
lib/zip/stdrubyext.rb

Overview

:nodoc:all

Direct Known Subclasses

BugFix::Tempfile

Class Method Summary collapse

Class Method Details

.read(fileName) ⇒ Object

singleton method read does not exist in 1.6.x



29
30
31
# File 'lib/zip/stdrubyext.rb', line 29

def self.read(fileName)
  open(fileName) { |f| f.read }
end