method

read

rails latest stable - Class: File

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

read(fname)
public

No documentation available.

# File actionwebservice/setup.rb, line 37
  def File.read(fname)
    open(fname) {|f|
      return f.read
    }
  end