Method: Elastic::Fields::Nested#prepare_value_for_result
- Defined in:
- lib/elastic/fields/nested.rb
#prepare_value_for_result(_values) ⇒ Object
47 48 49 50 |
# File 'lib/elastic/fields/nested.rb', line 47 def prepare_value_for_result(_values) formatter = Elastic::Core::SourceFormatter.new @index.definition _values.each { |v| formatter.format(v) } end |