Module: ElasticityGrammar::Number1

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

Instance Method Summary collapse

Instance Method Details

#result(role, _vm_pool = nil) ⇒ Object



739
740
741
742
743
744
# File 'lib/opennebula/flow/grammar.rb', line 739

def result(role, _vm_pool = nil)
    val = text_value.to_f
    st = val.to_s

    return [val, st]
end