carriverwave

# "lib/carrierwave/uploader/store.rb"
42       def store_path(for_file=filename)
43         File.join([store_dir, full_filename(for_file)].compact)
44       end

[194, 203] in /home/wenbo/.rvm/gems/ruby-1.9.3-rc1@files-server/gems/carrierwave-0.5.8/lib/carrierwave/uploader/versions.rb
   194            not condition or send(condition, file)
   195          end
   196        end
   197 
   198        def full_filename(for_file)
=> 199          [version_name, super(for_file)].compact.join('_')
   200        end

[132, 141] in /home/wenbo/.rvm/gems/ruby-1.9.3-rc1@files-server/gems/carrierwave-0.5.8/lib/carrierwave/uploader/versions.rb
   132        # === Returns
   133        #
   134        # [String] the name of this version of the uploader
   135        #
   136        def version_name
=> 137          self.class.version_names.join('_').to_sym unless self.class.version_names.blank?
   138        end



[99, 108] in /home/wenbo/.rvm/gems/ruby-1.9.3-rc1@files-server/gems/carrierwave-0.5.8/lib/carrierwave/uploader/store.rb
   99        end
   100 
   101      private
   102 
   103        def full_filename(for_file)
=> 104          for_file
   105        end

你可能感兴趣的:(ca)