Class: ActiveModel::MassAssignmentSecurity::BlackList

Inherits:
PermissionSet show all
Defined in:
activemodel/lib/active_model/mass_assignment_security/permission_set.rb

Instance Method Summary collapse

Methods inherited from PermissionSet

#+, #include?

Instance Method Details

#deny?(key) ⇒ Boolean

Returns:

  • (Boolean)


35
36
37
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 35

def deny?(key)
  include?(key)
end