Class: Contracts::Builtin::Any

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

Overview

Passes for any argument.

Class Method Summary collapse

Class Method Details

.valid?(val) ⇒ Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/contracts/builtin_contracts.rb', line 63

def self.valid?(val)
  true
end