Class: Yuriita::Selects::AllOrExplicit
- Inherits:
-
Object
- Object
- Yuriita::Selects::AllOrExplicit
- Defined in:
- lib/yuriita/selects/all_or_explicit.rb
Instance Method Summary collapse
- #filters ⇒ Object
-
#initialize(options:, query:) ⇒ AllOrExplicit
constructor
A new instance of AllOrExplicit.
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 = @query = query end |
Instance Method Details
#filters ⇒ Object
9 10 11 |
# File 'lib/yuriita/selects/all_or_explicit.rb', line 9 def filters .map(&:filter) end |