Class: Prmd::ReferenceLocalizer::ForArray Private

Inherits:
Prmd::ReferenceLocalizer show all
Defined in:
lib/prmd/core/reference_localizer.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Schema references localizer for arrays

API:

  • private

Instance Method Summary collapse

Methods inherited from Prmd::ReferenceLocalizer

build, #initialize, localize

Constructor Details

This class inherits a constructor from Prmd::ReferenceLocalizer

Instance Method Details

#localizeArray

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

API:

  • private



45
46
47
# File 'lib/prmd/core/reference_localizer.rb', line 45

def localize
  array.map { |element| ReferenceLocalizer.localize(element) }
end