Sha256: 6c874991dbdc188a3caca053c8359d0a0e54f4cf764c87777c643602139967aa

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module ThemeCheck
  module ShopifyLiquid
    class SourceIndex
      class ParameterEntry < BaseEntry
        def summary
          nil
        end

        private

        def return_type_hash
          {
            'type' => (hash['types'] || ['untyped']).first,
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theme-check-1.13.0 lib/theme_check/shopify_liquid/source_index/parameter_entry.rb
theme-check-1.12.1 lib/theme_check/shopify_liquid/source_index/parameter_entry.rb
theme-check-1.12.0 lib/theme_check/shopify_liquid/source_index/parameter_entry.rb