Class: ParamsReady::Restriction::Nothing

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

Class Method Summary collapse

Class Method Details

.[](_) ⇒ Object



66
67
68
# File 'lib/params_ready/restriction.rb', line 66

def self.[](_)
  Nothing
end

.dupObject



70
71
72
# File 'lib/params_ready/restriction.rb', line 70

def self.dup
  self
end

.key?(_) ⇒ Boolean

Returns:

  • (Boolean)


62
63
64
# File 'lib/params_ready/restriction.rb', line 62

def self.key?(_)
  false
end