Class: ActiveModel::MassAssignmentSecurity::PermissionSet

Inherits:
Set
  • Object
show all
Defined in:
activemodel/lib/active_model/mass_assignment_security/permission_set.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) logger

Returns the value of attribute logger



7
8
9
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 7

def logger
  @logger
end

Instance Method Details

- (Object) +(values)



9
10
11
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 9

def +(values)
  super(values.map(&:to_s))
end

- (Boolean) include?(key)



13
14
15
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 13

def include?(key)
  super(remove_multiparameter_id(key))
end