Class: File

Inherits:
Object show all
Defined in:
lib/pik/contrib/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/pik/contrib/zip/stdrubyext.rb', line 29

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