Sha256: d6d729b582fde457cbbae91ca7aa1864944b49bd61557187d75da7a1132cf7f6

Contents?: true

Size: 363 Bytes

Versions: 71

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class StaticFileDrop < Drop
      extend Forwardable
      def_delegators :@obj, :name, :extname, :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

71 entries across 71 versions & 1 rubygems

Version Path
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.1.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.1.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.1.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.1.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha11 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha10 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha9 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha8 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha7 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha6 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha5 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.5 lib/bridgetown-core/drops/static_file_drop.rb