Module: Kleisli::Contracts
- Includes:
- Contracts, Contracts::Modules
- Defined in:
- lib/kleisli/contracts.rb,
lib/kleisli/contracts/version.rb
Defined Under Namespace
Classes: EitherOf, KContract, MaybeOf, ValidationOf
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 |
# File 'lib/kleisli/contracts.rb', line 10 def self.included(base) base.send(:include, ::Contracts) end |