mod/core/set/all/name.rb in card-1.20.3 vs mod/core/set/all/name.rb in card-1.20.4
- old
+ new
@@ -117,10 +117,10 @@
Card.fetch(cardname.right, *args) unless simple?
end
def [] *args
case args[0]
- when Fixnum, Range
+ when Integer, Range
fetch_name = Array.wrap(cardname.parts[args[0]]).compact.join "+"
Card.fetch(fetch_name, args[1] || {}) unless simple?
else
super
end