Class: ParamsReady::Restriction::Everything

Inherits:
Object
  • Object
show all
Defined in:
lib/params_ready/restriction.rb

Class Method Summary collapse

Class Method Details

.[](_) ⇒ Object



52
53
54
# File 'lib/params_ready/restriction.rb', line 52

def self.[](_)
  Everything
end

.dupObject



56
57
58
# File 'lib/params_ready/restriction.rb', line 56

def self.dup
  self
end

.key?(_) ⇒ Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/params_ready/restriction.rb', line 48

def self.key?(_)
  true
end