Class: RubyCqrs::Validation::Aggregate
- Inherits:
-
Object
- Object
- RubyCqrs::Validation::Aggregate
- Defined in:
- lib/ruby_cqrs/contracts.rb
Class Method Summary collapse
Class Method Details
.valid?(val) ⇒ Boolean
33 34 35 |
# File 'lib/ruby_cqrs/contracts.rb', line 33 def self.valid? val val.is_a? RubyCqrs::Domain::Aggregate end |