Class: PlatformosCheck::PlatformosLiquid::SourceIndex::PropertyEntry
- Inherits:
-
BaseEntry
- Object
- BaseEntry
- PlatformosCheck::PlatformosLiquid::SourceIndex::PropertyEntry
- Defined in:
- lib/platformos_check/platformos_liquid/source_index/property_entry.rb
Constant Summary
Constants inherited from BaseEntry
BaseEntry::PLATFORMOS_DOCUMENTATION_URL
Instance Attribute Summary collapse
-
#parent_name ⇒ Object
readonly
Returns the value of attribute parent_name.
Attributes inherited from BaseEntry
Instance Method Summary collapse
-
#initialize(hash, parent_name) ⇒ PropertyEntry
constructor
A new instance of PropertyEntry.
- #platformos_documentation_url ⇒ Object
Methods inherited from BaseEntry
#deprecated?, #deprecation_reason, #description, #name, #return_type_instance, #summary
Constructor Details
#initialize(hash, parent_name) ⇒ PropertyEntry
Returns a new instance of PropertyEntry.
9 10 11 12 13 |
# File 'lib/platformos_check/platformos_liquid/source_index/property_entry.rb', line 9 def initialize(hash, parent_name) @hash = hash || {} @return_type = nil @parent_name = parent_name end |
Instance Attribute Details
#parent_name ⇒ Object (readonly)
Returns the value of attribute parent_name.
7 8 9 |
# File 'lib/platformos_check/platformos_liquid/source_index/property_entry.rb', line 7 def parent_name @parent_name end |
Instance Method Details
#platformos_documentation_url ⇒ Object
15 16 17 |
# File 'lib/platformos_check/platformos_liquid/source_index/property_entry.rb', line 15 def platformos_documentation_url "#{PLATFORMOS_DOCUMENTATION_URL}/developer-guide/variables/context-variable##{@parent_name}" end |