Class: Daedal::Filters::BoolFilter
- Defined in:
- lib/daedal/filters/bool_filter.rb
Instance Method Summary collapse
Methods inherited from Filter
Instance Method Details
#to_hash ⇒ Object
10 11 12 |
# File 'lib/daedal/filters/bool_filter.rb', line 10 def to_hash {bool: {should: should.map {|f| f.to_hash}, must: must.map {|f| f.to_hash}, must_not: must_not.map {|f| f.to_hash}}} end |