Sha256: 29e29fffec31bf600334dd68199d5ebdc921fd0f66193d1c223e4cd8b721ca27
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 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 def theme_app_extension_labels @theme_app_extension_labels ||= YAML.load(File.read("#{__dir__}/../../../data/shopify_liquid/theme_app_extension_objects.yml")) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
theme-check-1.11.0 | lib/theme_check/shopify_liquid/object.rb |
theme-check-1.10.3 | lib/theme_check/shopify_liquid/object.rb |