Class: Picard::SimpleAssertionWrapper

Inherits:
Object
  • Object
show all
Includes:
SExpressionSugar
Defined in:
lib/picard/assertion_wrapper.rb

Instance Method Summary collapse

Methods included from SExpressionSugar

#s

Instance Method Details

#wrap_assertion(ast, context) ⇒ Object



104
105
106
# File 'lib/picard/assertion_wrapper.rb', line 104

def wrap_assertion ast, context
  s(:call, nil,:assert,s(:arglist,ast))
end