lib/cap-util/unset_var.rb in cap-util-1.4.0 vs lib/cap-util/unset_var.rb in cap-util-1.5.0

- old
+ new

@@ -1,10 +1,10 @@ require 'cap-util/halt' module CapUtil module UnsetVar - def self.new(name, msg=nil) + def self.new(name, msg = nil) halt_msg = msg ? ":#{name} var not set (#{msg})." : ":#{name} var not set." Proc.new { CapUtil.halt(halt_msg) } end end