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-0.18.4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.17.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.17.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.16.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.16.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.16.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.15.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.15.0.beta4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.15.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.15.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.15.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.14.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.14.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.13.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.12.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.12.0 lib/bridgetown-core/drops/static_file_drop.rb