lib/gemcache/ruby/1.9.1/gems/carrierwave-0.6.2/lib/carrierwave/uploader/versions.rb
##
# Returns a hash mapping the name of each version of the uploader to an instance of it
#
# === Returns
#
# [Hash{Symbol => CarrierWave::Uploader}] a list of uploader instances
#
Returns a hash mapping the name of each version of the uploader to an instance of it
Returns

[Hash{Symbol => CarrierWave::Uploader}] a list of uploader instances
Returns a hash mapping the name of each version of the uploader to an instance of it Returns [ Hash { Symbol = > CarrierWave :: Uploader } ] a list of uploader instances
def versions
        return @versions if @versions
        @versions = {}
        self.class.versions.each do |name, version|
          @versions[name] = version[:uploader].new(model, mounted_as)
        end
        @versions
      end
def versions return @versions if @versions @versions = { } self . class . versions . each do | name , version | @versions [ name ] = version [ :uploader ] . new ( model , mounted_as ) end @versions end
Returns a hash mapping the name of each version of the uploader to an instance of it
 Returns
Returns a hash mapping the name of each version of the uploader to an instance of it Returns