Allow passing named arguments to DB.mapping

This commit is contained in:
Ary Borenszweig 2016-07-15 11:54:09 -03:00
parent 8a913d1ef2
commit 1a4622ee59

View file

@ -138,4 +138,7 @@ module DB
end
end
macro mapping(**properties)
::DB.mapping({{properties}})
end
end