Module

Grande

There's no documentation for this item.

Public Methods
| Grande Pipe Operator
< Grande Copy-From Operator
<< Grande Append-From Operator
> Grande Copy-To Operator
>> Grande Append-To Operator
[] Grande subscript operator.
append_from Alias for IF::Grande#<< (append-from grande operator)
append_to Alias for IF::Grande#>> (append-to grande operator)
copy_from Alias for IF::Grande#< (copy-from grande operator)
copy_to Alias for IF::Grande#> (copy-to grande operator)
delete For a file Rio delete calls FileUtils#rm. For a directory Rio delete calls FileUtils#rmdir Returns the Rio. If the Rio does not exist, simply return the Rio.
delete! For a file IF::Grande#delete! calls FileUtils#rm. For a directory IF::Grande#delete! calls FileUtils#rmtree Returns the Rio. If the rio does not exist, simply return itself.
each Iterate through a rio. Executes the block for each item selected for the Rio. See IF::GrandeStream#lines, IF::GrandeStream#records, IF::GrandeStream#bytes, IF::GrandeEntry#files, IF::GrandeEntry#dirs, IF::Grande#[] and IF::Grande#to_a for more information on how records are selected and what kind of record is passed to the block.
empty? Returns true if the referenced file or directory is empty after honoring the grande selection methods.
get Reads and returns the next record or entry from a Rio, honoring the grande selection methods.
skip Grande Exclude method
split IF::Grande#split has two distinct behaviors depending on whether or not it is called with an argument.
to_a Returns the contents of the rio as an array. (See ::Enumerable#to_a)
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.