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.0.0 lib/theme_check/shopify_liquid/object.rb
theme-check-0.10.2 lib/theme_check/shopify_liquid/object.rb
theme-check-0.10.1 lib/theme_check/shopify_liquid/object.rb
theme-check-0.10.0 lib/theme_check/shopify_liquid/object.rb
theme-check-0.9.1 lib/theme_check/shopify_liquid/object.rb
theme-check-0.9.0 lib/theme_check/shopify_liquid/object.rb
theme-check-0.8.3 lib/theme_check/shopify_liquid/object.rb
theme-check-0.8.2 lib/theme_check/shopify_liquid/object.rb
theme-check-0.8.1 lib/theme_check/shopify_liquid/object.rb
theme-check-0.8.0 lib/theme_check/shopify_liquid/object.rb
theme-check-0.7.3 lib/theme_check/shopify_liquid/object.rb
theme-check-0.7.2 lib/theme_check/shopify_liquid/object.rb
theme-check-0.7.1 lib/theme_check/shopify_liquid/object.rb
theme-check-0.7.0 lib/theme_check/shopify_liquid/object.rb