Class: PlatformosCheck::PlatformosLiquid::SourceIndex::ObjectEntry
- Inherits:
-
BaseEntry
- Object
- BaseEntry
- PlatformosCheck::PlatformosLiquid::SourceIndex::ObjectEntry
- Defined in:
- lib/platformos_check/platformos_liquid/source_index/object_entry.rb
Constant Summary
Constants inherited from BaseEntry
BaseEntry::PLATFORMOS_DOCUMENTATION_URL
Instance Attribute Summary
Attributes inherited from BaseEntry
Instance Method Summary collapse
Methods inherited from BaseEntry
#deprecated?, #deprecation_reason, #description, #initialize, #name, #return_type_instance, #summary
Constructor Details
This class inherits a constructor from PlatformosCheck::PlatformosLiquid::SourceIndex::BaseEntry
Instance Method Details
#platformos_documentation_url ⇒ Object
14 15 16 |
# File 'lib/platformos_check/platformos_liquid/source_index/object_entry.rb', line 14 def platformos_documentation_url "#{PLATFORMOS_DOCUMENTATION_URL}/developer-guide/variables/context-variable##{hash['name']}" end |
#properties ⇒ Object
7 8 9 10 11 12 |
# File 'lib/platformos_check/platformos_liquid/source_index/object_entry.rb', line 7 def properties (hash['properties'] || []) .map do |prop_hash| PropertyEntry.new(prop_hash, hash['name']) end end |