Skip to content

Commit

Permalink
Register interface filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed May 28, 2014
1 parent df97940 commit f0f1bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/active_interaction/filters/interface_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class Base

# @private
class InterfaceFilter < Filter
register :interface

def cast(value)
matches?(value) ? value : super
end
Expand Down

0 comments on commit f0f1bc4

Please sign in to comment.