Sha256: 7994d75107b017eae2c1432edd58dd60a10ed5664e51d9fbf27f81240c5c00a1
Contents?: true
Size: 210 Bytes
Versions: 18
Compression:
Stored size: 210 Bytes
Contents
module Ridley module Helpers def self.options_slice(options, *keys) keys.inject({}) do |memo, key| memo[key] = options[key] if options.include?(key) memo end end end end
Version data entries
18 entries across 18 versions & 1 rubygems