README.textile in sugar-high-0.5.3 vs README.textile in sugar-high-0.5.4

- old
+ new

@@ -20,10 +20,11 @@ * alias * arguments * array * blank * class_ext +* dsl * enumerable * file * file_mutate (backwards compatible) * file_mutation * includes @@ -77,10 +78,25 @@ * try_module * try_module_only * find_first_class(*class_names) * find_first_module(*module_names) +Note: This pack has recently been extracted into its own gem called *sweet_loader* + +h3. DSL + +* with(instance, &block) (by @stanislaw) + +Useful as a building block for DSLs! + +<pre> +with(Hash.new) do + merge!(:a => 1) + merge!(:b => 2) +end.should == {:a => 1, :b => 2} +</pre> + h3. Enumerable * only_kinds_of?(*modules) * only_labels? * select_kinds_of(*modules) @@ -90,10 +106,10 @@ * select_symbols * select_symbols! * select_uniq_symbols! * select_strings * select_strings! -* select_only(type) +* select_only(type) * select_only!(type) h3. File * self.blank? and blank? : Is file empty?