# File lib/facets/core/hash/assert_has_only_keys.rb, line 12 def assert_has_only_keys(*check_keys) raise(ArgumentError, "has unexpected key(s)") unless has_only_keys?(*check_keys) end