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.0.0.alpha4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-1.0.0.alpha1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.20.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.19.3 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.19.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.19.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.19.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.6 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.18.5 lib/bridgetown-core/drops/static_file_drop.rb