Sha256: a972313d6a657baa8b7c83e9ecb7a5313bf46e78eba45ba12997897711ea017b

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true
require 'yaml'

module ThemeCheck
  module ShopifyLiquid
    module Tag
      extend self

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theme-check-0.6.0 lib/theme_check/shopify_liquid/tag.rb
theme-check-0.5.0 lib/theme_check/shopify_liquid/tag.rb
theme-check-0.4.0 lib/theme_check/shopify_liquid/tag.rb