Sha256: 00d724c590de072f7538e81569b26b06f2ea85962d5cf0c9966c81019c753f1c

Contents?: true

Size: 404 Bytes

Versions: 34

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true
require 'yaml'

module ThemeCheck
  module ShopifyLiquid
    module Object
      extend self

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

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

Version data entries

34 entries across 34 versions & 1 rubygems

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