Class: Class

Inherits:
Object show all
Defined in:
lib/waw/validation/dsl_ruby_extensions.rb

Instance Method Summary collapse

Instance Method Details

#&(validator) ⇒ Object



5
6
7
# File 'lib/waw/validation/dsl_ruby_extensions.rb', line 5

def &(validator)
  ::Waw::Validation.to_validator(self) & validator
end

#notObject



8
9
10
# File 'lib/waw/validation/dsl_ruby_extensions.rb', line 8

def not()
  ::Waw::Validation.to_validator(self).not
end

#|(validator) ⇒ Object



2
3
4
# File 'lib/waw/validation/dsl_ruby_extensions.rb', line 2

def |(validator)
  ::Waw::Validation.to_validator(self) | validator
end