class ActiveAdmin::AuthorizationAdapter::NormalizedMatcher

Public Class Methods

new(klass) click to toggle source
# File lib/active_admin/authorization_adapter.rb, line 120
def initialize(klass)
  @klass = klass
end

Public Instance Methods

===(other) click to toggle source
# File lib/active_admin/authorization_adapter.rb, line 124
def ===(other)
  @klass == other || other.is_a?(@klass)
end