module Elastic::Nodes::Concerns::FieldQuery

Attributes

field[RW]

Public Instance Methods

render_field(_options) click to toggle source
# File lib/elastic/nodes/concerns/field_query.rb, line 5
def render_field(_options)
  return "#{_options[:query_path]}.#{@field}" if _options.key? :query_path
  @field.to_s
end