Class: Katalyst::Tables::Collection::Type::String::MatchHandler
- Inherits:
-
Object
- Object
- Katalyst::Tables::Collection::Type::String::MatchHandler
- Defined in:
- lib/katalyst/tables/collection/type/string.rb
Instance Method Summary collapse
Instance Method Details
#call(attribute, value) ⇒ Object
37 38 39 |
# File 'lib/katalyst/tables/collection/type/string.rb', line 37 def call(attribute, value) attribute.matches(value.to_sql) end |