Sha256: 6e5d0b713a99ea3940561bcf42f0039aa8d55a0baeb7d4c8f62220d3c15d18b9

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true
require 'yaml'

module ThemeCheck
  module ShopifyLiquid
    module Object
      extend self

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
theme-check-0.2.2 lib/theme_check/shopify_liquid/object.rb
theme-check-0.2.0 lib/theme_check/shopify_liquid/object.rb
theme-check-0.1.2 lib/theme_check/shopify_liquid/object.rb
theme-check-0.1.1 lib/theme_check/shopify_liquid/object.rb
theme-check-0.1.0 lib/theme_check/shopify_liquid/object.rb