Module: AttrFilters
- Defined in:
- lib/attr_filters.rb,
lib/attr_filters/utils.rb,
lib/attr_filters/filters.rb,
lib/attr_filters/version.rb,
lib/attr_filters/active_model.rb,
lib/attr_filters/filters/base.rb,
lib/attr_filters/filters/date.rb,
lib/attr_filters/filters/trim.rb,
lib/attr_filters/filters_macro.rb,
lib/attr_filters/filters/upcase.rb,
lib/attr_filters/filters/squeeze.rb,
lib/attr_filters/filters/downcase.rb,
lib/attr_filters/instance_methods.rb,
lib/attr_filters/filters/capitalize.rb,
lib/attr_filters/filters/letters_only.rb,
lib/attr_filters/filters/numbers_only.rb
Defined Under Namespace
Modules: ActiveModel, Filters, FiltersMacro, InstanceMethods, Utils Classes: UnknownAttributeError, UnknownFilterError
Constant Summary collapse
- VERSION =
"0.5.0"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
15 16 17 18 |
# File 'lib/attr_filters.rb', line 15 def self.included(base) base.extend(FiltersMacro) base.include(InstanceMethods) end |