Class: Strict::Validators::Anything

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/strict/validators/anything.rb

Instance Method Summary collapse

Instance Method Details

#===(_value) ⇒ Object



10
11
12
# File 'lib/strict/validators/anything.rb', line 10

def ===(_value)
  true
end

#inspectObject Also known as: to_s



14
15
16
# File 'lib/strict/validators/anything.rb', line 14

def inspect
  "Anything()"
end