Module: ElasticityGrammar::LogicCond3

Defined in:
lib/opennebula/flow/grammar.rb

Instance Method Summary collapse

Instance Method Details

#result(role, vm_pool) ⇒ Object



354
355
356
357
358
359
360
361
# File 'lib/opennebula/flow/grammar.rb', line 354

def result(role, vm_pool)
    e_val, e_st = expression.result(role, vm_pool)

    val = !e_val
    st = "!#{e_st}"

    return [val, st]
end