Module: Caoutsearch::Search::Inspect
- Included in:
- Base
- Defined in:
- lib/caoutsearch/search/inspect.rb
Constant Summary collapse
- PROPERTIES_TO_INSPECT =
%i[ search_criteria current_contexts current_order current_page current_limit current_offset current_aggregations current_suggestions current_returns ].freeze
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
18 19 20 21 22 |
# File 'lib/caoutsearch/search/inspect.rb', line 18 def inspect properties = properties_to_inspect.map { |k, v| " #{k}: #{v}" } "#<#{self.class}#{properties.join(",")}>" end |