lib/timeliness/parser.rb in timeliness-0.4.4 vs lib/timeliness/parser.rb in timeliness-0.4.5

- old
+ new

@@ -38,10 +38,10 @@ def _parse(string, type=nil, options={}) if options[:strict] && type Definitions.send("#{type}_format_set").match(string, options[:format]) else values = nil - Definitions.format_sets(type, string).find {|set| values = set.match(string, options[:format]) } + Definitions.format_sets(type, string).find { |set| values = set.match(string, options[:format]) } values end rescue nil end