Sha256: 3ad7839f7d41beb6b5e6ebb1a4dbd92c9e8fb0e618093736bdc6efbc2af6fab1
Contents?: true
Size: 657 Bytes
Versions: 17
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module PlatformosCheck module PlatformosLiquid class SourceIndex class ObjectEntry < BaseEntry def properties (hash['properties'] || []) .map do |prop_hash| PropertyEntry.new(prop_hash, hash['name']) end end def platformos_documentation_url "#{PLATFORMOS_DOCUMENTATION_URL}/developer-guide/variables/context-variable##{hash['name']}" end def global? hash.dig('access', 'global') end def app_file_type hash.dig('access', 'app_file_type') end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems