Class: File

Inherits:
Object show all
Defined in:
lib/rant/archive/rubyzip/stdrubyext.rb

Overview

:nodoc:all

Direct Known Subclasses

Rant::BugFix::Tempfile

Class Method Summary collapse

Class Method Details

.read(fileName) ⇒ Object

singleton method read does not exist in 1.6.x



32
33
34
# File 'lib/rant/archive/rubyzip/stdrubyext.rb', line 32

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