Class: ActiveModel::MassAssignmentSecurity::PermissionSet
- Inherits:
-
Set
- Object
- Set
- ActiveModel::MassAssignmentSecurity::PermissionSet
- Defined in:
- lib/active_model/mass_assignment_security/permission_set.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/active_model/mass_assignment_security/permission_set.rb', line 7 def logger @logger end |
Instance Method Details
#+(values) ⇒ Object
9 10 11 |
# File 'lib/active_model/mass_assignment_security/permission_set.rb', line 9 def +(values) super(values.map(&:to_s)) end |
#include?(key) ⇒ Boolean
13 14 15 |
# File 'lib/active_model/mass_assignment_security/permission_set.rb', line 13 def include?(key) super(remove_multiparameter_id(key)) end |