Class: Ree::Contracts::ArgContracts::Any

Inherits:
Object
  • Object
show all
Defined in:
lib/ree/contracts/arg_contracts/any.rb

Class Method Summary collapse

Class Method Details

.to_sObject



10
11
12
# File 'lib/ree/contracts/arg_contracts/any.rb', line 10

def self.to_s
  "Any"
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/ree/contracts/arg_contracts/any.rb', line 6

def self.valid?(value)
  true
end