Sha256: c4d94619ca4ee2e2b882e2e8bf2ce2744d2583a77e7b780c6306f7f5e8cf45e6

Contents?: true

Size: 370 Bytes

Versions: 13

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class StaticFileDrop < Drop
      extend Forwardable
      def_delegators :@obj, :name, :extname, :date, :modified_time, :basename
      def_delegator :@obj, :relative_path, :path
      def_delegator :@obj, :type, :collection

      private def_delegator :@obj, :data, :fallback_data
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.2.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/drops/static_file_drop.rb