Sha256: abe1af0d66d9a692577e852a78af5ddf2fcc13d5496408db81369a44560bac23
Contents?: true
Size: 610 Bytes
Versions: 3
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module ShopifyLiquid class SourceIndex class ReturnTypeEntry < BaseEntry def summary nil end def to_s hash['type'] end def generic_type? hash['type'] == 'generic' end def array_type? !array_type.nil? && !array_type.empty? end def array_type hash['array_value'] end private def return_type_hash { 'type' => "type<#{self}>", } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems