examples/speak in clamp-1.0.1 vs examples/speak in clamp-1.1.0

- old
+ new

@@ -4,28 +4,26 @@ require "clamp" Clamp do - banner %{ + banner %( Say something. - } + ) option "--loud", :flag, "say it loud" option ["-n", "--iterations"], "N", "say it N times", :default => 1 do |s| Integer(s) end parameter "WORDS ...", "the thing to say", :attribute_name => :words def execute - the_truth = words.join(" ") the_truth.upcase! if loud? iterations.times do puts the_truth end - end end