Sha256: 78d523534a666800d0c3fb890a2a8d83b18a4e83985c64a08da354c72152b04b

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Writes the given data to the given path and closes the file. This is done in binary mode, complementing <tt>IO.read</tt> in standard Ruby.
- !ruby/struct:SM::Flow::P 
  body: Returns the number of bytes written.
- !ruby/struct:SM::Flow::VERB 
  body: "  CREDIT: Gavin Sinclair\n"
full_name: File::write
is_singleton: true
name: write
params: (path, data)
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/File/write-c.yaml
facets-2.4.3 doc/ri/File/write-c.yaml