mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 04:07:33 +02:00
5 lines
103 B
Ruby
5 lines
103 B
Ruby
class Hash
|
|
def select_keys(*args)
|
|
select { |k, _| args.include?(k) }.map { |_k, v| v }
|
|
end
|
|
end
|