Class: Couchbase::SearchSort::SearchSortScore
- Inherits:
-
SearchSort
- Object
- SearchSort
- Couchbase::SearchSort::SearchSortScore
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Instance Attribute Summary collapse
-
#desc ⇒ Boolean
If descending order should be applied.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ SearchSortScore
constructor
A new instance of SearchSortScore.
Constructor Details
#initialize {|| ... } ⇒ SearchSortScore
Returns a new instance of SearchSortScore.
1164 1165 1166 1167 |
# File 'lib/couchbase/search_options.rb', line 1164 def initialize super yield self if block_given? end |
Instance Attribute Details
#desc ⇒ Boolean
Returns if descending order should be applied.
1161 1162 1163 |
# File 'lib/couchbase/search_options.rb', line 1161 def desc @desc end |