Module: Validate::Assertions

Defined in:
lib/validate/assertions.rb

Defined Under Namespace

Classes: Assertion

Class Method Summary collapse

Class Method Details

.create(*args, &block) ⇒ Object



8
9
10
# File 'lib/validate/assertions.rb', line 8

def create(*args, &block)
  Assertion.new(AST::DefinitionContext.create(*args, &block))
end