lib/language_cards/mapping.rb in language_cards-0.0.1 vs lib/language_cards/mapping.rb in language_cards-0.0.2
- old
+ new
@@ -35,9 +35,13 @@
def order key # what was my intention in design here?
self[key].values.flatten
end
+ def has_key? key
+ @mappings.has_key? key
+ end
+
def keys
@mappings.keys
end
def inspect