Sha256: 012e3e6e6776629090bf09c6e1286931f84b0887df0a086e0c4c281476ebdcb1

Contents?: true

Size: 302 Bytes

Versions: 36

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true
require 'yaml'

module ThemeCheck
  module ShopifyLiquid
    module Filter
      extend self

      def labels
        @labels ||= YAML.load(File.read("#{__dir__}/../../../data/shopify_liquid/filters.yml"))
          .values
          .flatten
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
theme-check-1.11.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.10.3 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.10.2 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.10.1 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.10.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.9.2 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.9.1 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.9.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.8.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.7.2 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.7.1 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.7.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.6.2 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.6.1 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.6.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.5.2 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.5.1 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.5.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.4.0 lib/theme_check/shopify_liquid/filter.rb
theme-check-1.3.0 lib/theme_check/shopify_liquid/filter.rb