Class: Arelastic::Builders::Sort
- Inherits:
-
Struct
- Object
- Struct
- Arelastic::Builders::Sort
- Defined in:
- lib/arelastic/builders/sort.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field
3 4 5 |
# File 'lib/arelastic/builders/sort.rb', line 3 def field @field end |
Class Method Details
.[](field) ⇒ Object
5 6 7 |
# File 'lib/arelastic/builders/sort.rb', line 5 def [](field) new(field) end |