README.textile in sugar-high-0.5.5 vs README.textile in sugar-high-0.6.0

- old
+ new

@@ -8,14 +8,13 @@ h2. Usage See specs for example use -h2. Update June 22, 2011 +h2. Update Aug 21, 2011 -file_mutate is now backwards compatible again in order nt to break gems such as cream et. al. that depend on auto inclusion of all File extensions into -File object +Extracted *file_mutate* and *sweetloader* gems. h2. Sugar packs * alias * arguments @@ -23,12 +22,10 @@ * blank * class_ext * dsl * enumerable * file -* file_mutate (backwards compatible) -* file_mutation * includes * kind_of * math * metaclass * methods @@ -124,33 +121,9 @@ h3. File * self.blank? and blank? : Is file empty? * self.overwrite : overwrite file with new content (mode = 'w') * self.append : append to existing file with content or create new (mode = 'w+') - -h3. File Mutate -Adds all File mutation modules to the File class - -h3. File Mutation - -Various File Mutation modules that can be added to any module or class for some nice benefits. Useful for generators fx. - -Mutation modules within SugarHigh::FileMutate - -* AppendContent -* Delete -* InsertContent -* OverwriteContent -* RemoveContent -* ReplaceContent - -To add all mutate modules to the File class, simply: - -<pre>File.mutate_ext :all</pre> - -Otherwise, simply specify which ones: - -<pre>File.mutate_ext :append_content, overwrite_content</pre> h3. Hash * hash_revert : Reverse keys and values * try_keys : return value of first key that is in Hash