Sha256: 490b6bfd7bb036783fa99ebf042e98d9dd99a923951eb9630335b62a1780c62a
Contents?: true
Size: 280 Bytes
Versions: 15
Compression:
Stored size: 280 Bytes
Contents
module Garage::ResourceCastingResponder def initialize(*args) super @caster = Garage.configuration.cast_resource end def display(resource, given_options={}) if @caster resource = @caster.call(resource) end super(resource, given_options) end end
Version data entries
15 entries across 15 versions & 1 rubygems