lib/fugit/nat.rb in fugit-1.1.2 vs lib/fugit/nat.rb in fugit-1.1.3
- old
+ new
@@ -47,10 +47,10 @@
elsif key == :flag && val == 'pm' && h[:hou]
h[:hou][-1] = [ h[:hou][-1].first + 12 ]
end
end
h[:min] ||= [ 0 ]
- h[:dow].sort_by! { |a, z| a || 0 }
+ h[:dow].sort_by! { |d, _| d || 0 }
Fugit::Cron.allocate.send(:init, nil, h)
end
module Parser include Raabro