Class: Clearly::Query::Cleaner
- Inherits:
-
Object
- Object
- Clearly::Query::Cleaner
- Defined in:
- lib/clearly/query/cleaner.rb
Overview
Cleans a filter hash so it is ready to be built using the Composer.
Instance Method Summary collapse
-
#do(hash) ⇒ Hash
Get the cleaned filter hash.
-
#initialize ⇒ Clearly::Query::Cleaner
constructor
Create a cleaner for a filter hash.
Constructor Details
#initialize ⇒ Clearly::Query::Cleaner
Create a cleaner for a filter hash.
9 10 11 |
# File 'lib/clearly/query/cleaner.rb', line 9 def initialize self end |
Instance Method Details
#do(hash) ⇒ Hash
Get the cleaned filter hash.
16 17 18 |
# File 'lib/clearly/query/cleaner.rb', line 16 def do(hash) clean(hash) end |