spec/new_commands.rb in md_inc-0.2.9 vs spec/new_commands.rb in md_inc-0.3.0

- old
+ new

@@ -2,10 +2,14 @@ # Add a new command to MdInc: Just add a new # module level method to the MdInc::Commands # module and off you go. module MdInc module Commands - def self.inc_up(path) + def inc_up(path) inc(path).map {|s| s.upcase!} + end + + def multi_up + content.map {|l| l.upcase} end end end