lib/args_parser/parser.rb in args_parser-0.1.4 vs lib/args_parser/parser.rb in args_parser-0.1.5

- old
+ new

@@ -136,10 +136,10 @@ end def has_param?(*param_) !(param_.flatten.map{|i| v = self[i] - (v and [String, Fixnum, Float].include? v.class) ? true : false + (v != nil and v != true) ? true : false }.include? false) end def inspect h = Hash.new