read

pathname.read([length [, offset]]) â string
pathname.read([length [, offset]], open_args) â string
Instance Public methods

Returns all data from the file, or the first N bytes if specified.

See IO.read.

doc_ruby_on_rails
2015-04-27 20:53:10
Comments
Leave a Comment

Please login to continue.