Sha256: c9f2c61136172b0d1735a9aa2580677dcccbfc4ab0be8f9fa760a7f312fc6a94
Contents?: true
Size: 226 Bytes
Versions: 37
Compression:
Stored size: 226 Bytes
Contents
def fetch_params params Env.params.select { |key, val| val && params.include?(key) } .with_indifferent_access end def param_to_i key, default if (value = Env.params[key]) value.to_i else default end end
Version data entries
37 entries across 37 versions & 1 rubygems