Class: Ree::Contracts::ArgContracts::None
- Defined in:
- lib/ree/contracts/arg_contracts/none.rb
Class Method Summary collapse
Class Method Details
.to_s ⇒ Object
10 11 12 |
# File 'lib/ree/contracts/arg_contracts/none.rb', line 10 def self.to_s "None" end |
.valid? ⇒ Boolean
6 7 8 |
# File 'lib/ree/contracts/arg_contracts/none.rb', line 6 def self.valid?(*) raise BadContractError, "None contract is not allowed to use as argument contract" end |