Sha256: 88b298bca736022344a50157857c6de90d08477a3191c245bd576f0df5665a99

Contents?: true

Size: 508 Bytes

Versions: 25

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  module PlatformosLiquid
    class SourceIndex
      class PropertyEntry < BaseEntry
        attr_reader :parent_name

        def initialize(hash, parent_name)
          @hash = hash || {}
          @return_type = nil
          @parent_name = parent_name
        end

        def platformos_documentation_url
          "#{PLATFORMOS_DOCUMENTATION_URL}/developer-guide/variables/context-variable##{@parent_name}"
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
platformos-check-0.2.0 lib/platformos_check/platformos_liquid/source_index/property_entry.rb
platformos-check-0.1.0 lib/platformos_check/platformos_liquid/source_index/property_entry.rb
platformos-check-0.0.3 lib/platformos_check/platformos_liquid/source_index/property_entry.rb
platformos-check-0.0.2 lib/platformos_check/platformos_liquid/source_index/property_entry.rb
platformos-check-0.0.1 lib/platformos_check/platformos_liquid/source_index/property_entry.rb