Class: Symbol
Overview
Symbol helpers
Instance Method Summary collapse
- #normalize_age(default = :newest) ⇒ Object
- #normalize_bool(default = :and) ⇒ Object
- #normalize_case(default = :smart) ⇒ Object
- #normalize_matching(default = :pattern) ⇒ Object
- #normalize_order(default = :asc) ⇒ Object
- #normalize_tag_sort(default = :name) ⇒ Object
Instance Method Details
#normalize_age(default = :newest) ⇒ Object
172 173 174 |
# File 'lib/doing/normalize.rb', line 172 def normalize_age(default = :newest) to_s.normalize_age(default) end |
#normalize_bool(default = :and) ⇒ Object
168 169 170 |
# File 'lib/doing/normalize.rb', line 168 def normalize_bool(default = :and) to_s.normalize_bool(default) end |
#normalize_case(default = :smart) ⇒ Object
180 181 182 |
# File 'lib/doing/normalize.rb', line 180 def normalize_case(default = :smart) to_s.normalize_case(default) end |
#normalize_matching(default = :pattern) ⇒ Object
184 185 186 |
# File 'lib/doing/normalize.rb', line 184 def normalize_matching(default = :pattern) to_s.normalize_matching(default) end |
#normalize_order(default = :asc) ⇒ Object
176 177 178 |
# File 'lib/doing/normalize.rb', line 176 def normalize_order(default = :asc) to_s.normalize_order(default) end |
#normalize_tag_sort(default = :name) ⇒ Object
164 165 166 |
# File 'lib/doing/normalize.rb', line 164 def normalize_tag_sort(default = :name) to_s.normalize_tag_sort end |