Class: Class
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 |
#not ⇒ Object
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 |