FOR CONSISTENCY
This commit is contained in:
parent
b0d59c92dc
commit
8ee628d640
@ -393,7 +393,7 @@ class DODB::RAMOnlyTags(V) < DODB::CachedTags(V)
|
|||||||
# # ]
|
# # ]
|
||||||
# # Each tuple is composed of a car and its key in the database.
|
# # Each tuple is composed of a car and its key in the database.
|
||||||
# ```
|
# ```
|
||||||
# WARNING: throws a MissingEntry exception on non-existing tag.
|
# WARNING: FOR CONSISTENCY, throws a MissingEntry exception on non-existing tag.
|
||||||
def get_with_keys(tag : String) : Array(Tuple(V, Int32))
|
def get_with_keys(tag : String) : Array(Tuple(V, Int32))
|
||||||
r_value = Array(Tuple(V, Int32)).new
|
r_value = Array(Tuple(V, Int32)).new
|
||||||
if keys = @data[tag]?
|
if keys = @data[tag]?
|
||||||
|
Loading…
Reference in New Issue
Block a user