Module: Elastic::Nodes::Concerns::FieldQuery
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
Instance Method Summary collapse
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
3 4 5 |
# File 'lib/elastic/nodes/concerns/field_query.rb', line 3 def field @field end |
Instance Method Details
#render_field(_options) ⇒ Object
5 6 7 8 |
# File 'lib/elastic/nodes/concerns/field_query.rb', line 5 def render_field() return "#{[:query_path]}.#{@field}" if .key? :query_path @field.to_s end |