Sha256: f6f162da8b9707b49b1be782a2be3c3655068a27208c14095690df6b81527ac2

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

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

block_params: ""
comment: 
- !ruby/struct:SM::Flow::P 
  body: In block form, yields the first number of ((<b>lines</b>)) of file ((<b>filename</b>)). In non-block form, it returns an array of the first number of ((<b>lines</b>)).
- !ruby/struct:SM::Flow::VERB 
  body: "  # Returns first 10 lines of 'myfile'\n  FileUtils.head(&quot;myfile&quot;)\n"
full_name: FileUtils#head
is_singleton: false
name: head
params: (filename,lines=10) {|| ...}
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/FileUtils/head-i.yaml
facets-2.4.3 doc/ri/FileUtils/head-i.yaml