Sha256: 225d93ae0682ceb4ec34eb34adc0c4e9eb6e97ea7f28b5841452a1ecd36f853b

Contents?: true

Size: 231 Bytes

Versions: 16

Compression:

Stored size: 231 Bytes

Contents

module Locomotive
  module Liquid
    module Drops
      class Uploader < Base

        delegate :url, :size, :to => '_source'

        def filename
          File.basename(self._source.url)
        end

      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
locomotive_cms-2.0.3 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.2 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.1 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0 lib/locomotive/liquid/drops/uploader.rb
tribeca_cms-0.1.1 lib/locomotive/liquid/drops/uploader.rb
tribeca_cms-2.0.0.rc12 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc12 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc11 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc10 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc9 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc8 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc7 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc6 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc5 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc4 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.0.0.rc2 lib/locomotive/liquid/drops/uploader.rb