Class: Contracts::Builtin::None

Inherits:
Object
  • Object
show all
Defined in:
lib/contracts/builtin_contracts.rb

Overview

Fails for any argument.

Class Method Summary collapse

Class Method Details

.valid?(val) ⇒ Boolean

Returns:

  • (Boolean)

76
77
78
# File 'lib/contracts/builtin_contracts.rb', line 76

def self.valid? val
  false
end