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.11.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.11.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.11.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.10.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.10.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.10.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.9.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.8.1 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.8.0 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.7.2 lib/bridgetown-core/drops/static_file_drop.rb
bridgetown-core-0.7.1 lib/bridgetown-core/drops/static_file_drop.rb