Method: Arelastic::Aggregations::BucketSort#initialize
- Defined in:
- lib/arelastic/aggregations/bucket_sort.rb
#initialize(name, options = {}) ⇒ BucketSort
Returns a new instance of BucketSort.
6 7 8 9 |
# File 'lib/arelastic/aggregations/bucket_sort.rb', line 6 def initialize(name, = {}) super @sort = read_option! , 'sort' end |