Sha256: 9e2d1925cc83d70280c765b333799e3d7a6146371e4a9ded9ca142b3d0ae97c6

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  class PartialFile < LiquidFile
    DIR_PREFIX = %r{\A/?((marketplace_builder|app)/(views/partials|liquid_views|views|lib)/|(app/)?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

1 entries across 1 versions & 1 rubygems

Version Path
platformos-check-0.4.14 lib/platformos_check/partial_file.rb