Class: Yuriita::Selects::AllOrExplicit

Inherits:
Object
  • Object
show all
Defined in:
lib/yuriita/selects/all_or_explicit.rb

Instance Method Summary collapse

Constructor Details

#initialize(options:, query:) ⇒ AllOrExplicit

Returns a new instance of AllOrExplicit.



4
5
6
7
# File 'lib/yuriita/selects/all_or_explicit.rb', line 4

def initialize(options:, query:)
  @options = options
  @query = query
end

Instance Method Details

#filtersObject



9
10
11
# File 'lib/yuriita/selects/all_or_explicit.rb', line 9

def filters
  active_options.map(&:filter)
end