class ActiveAdmin::AuthorizationAdapter::NormalizedMatcher
Public Class Methods
new(klass)
click to toggle source
# File lib/active_admin/authorization_adapter.rb, line 117 def initialize(klass) @klass = klass end
Public Instance Methods
===(other)
click to toggle source
# File lib/active_admin/authorization_adapter.rb, line 121 def ===(other) @klass == other || other.is_a?(@klass) end