h1. File Mutate

A File Muatation DSL and API that is easy to add to any module or class. It is often convenient to extend the core File class with the file mutation APIs in order to gain a better DSL for performing file mutations.

This gem has been extracted from the “sugar-high”:github.com/kristianmandrup/sugar-high gem

h2. Content Mutation DSL

File mutation modules:

The modules follow the naming convention: @FileMutate::AppendContent@

h2. Usage

To include all file mutation modules:

@File.file_mutate :all@

To include set of file mutation modules:

@File.file_mutate :append, :insert@

Note that the @file_mutate@ macro is made available for all modules.

h2. Contributing to file_mutate

h2. Copyright

Copyright © 2011 Kristian Mandrup. See LICENSE.txt for further details.