lib/language_cards/comparator.rb in language_cards-0.0.7 vs lib/language_cards/comparator.rb in language_cards-0.1.0
- old
+ new
@@ -17,12 +17,12 @@
end
def mapped_as
case @mapping.first
when :k
- @mapped_as.keys
+ @mapped_as.keys.first
else
- @mapped_as.values
+ @mapped_as.values.first
end
end
def given key, value
CompBitz.new(