Sha256: bef73c6c9d592cd2b73b4354c187678cc431c6b9425e47918d42742a3f0333ad

Contents?: true

Size: 349 Bytes

Versions: 24

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  class PartialFile < LiquidFile
    DIR_PREFIX = %r{\A/?((marketplace_builder|app)/(views/partials|liquid_views|views|lib)/|modules/((\w|-)*)/(private|public)/(views/partials|liquid_views|views|lib)/)}

    def partial?
      true
    end

    def dir_prefix
      DIR_PREFIX
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
platformos-check-0.1.0 lib/platformos_check/partial_file.rb
platformos-check-0.0.3 lib/platformos_check/partial_file.rb
platformos-check-0.0.2 lib/platformos_check/partial_file.rb
platformos-check-0.0.1 lib/platformos_check/partial_file.rb