lib/card/codename.rb in card-1.97.0.1 vs lib/card/codename.rb in card-1.98.0
- old
+ new
@@ -24,10 +24,10 @@
# Every process maintains a complete cache that is not frequently reset
#
class Codename
class << self
# returns codename for id and id for codename
- # @param key [Integer, Symbol, String, Card::Name]
+ # @param codename [Integer, Symbol, String, Card::Name]
# @return [Symbol]
def [] codename
case codename
when Integer
codehash[codename]