lib/latinum/collection.rb in latinum-1.4.0 vs lib/latinum/collection.rb in latinum-1.4.1

- old
+ new

@@ -27,10 +27,10 @@ include Enumerable # Initialize the collection with a given set of resource names. def initialize(names = Set.new) @names = names - @resources = Hash.new {|hash, key| @names << key; BigDecimal.new("0")} + @resources = Hash.new {|hash, key| @names << key; BigDecimal("0")} end # All resource names which have been added to the collection, e.g. `['NZD', 'USD']`. attr :names