Module: ElasticityGrammar::Number3

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

Instance Method Summary collapse

Instance Method Details

#result(role, _vm_pool = nil) ⇒ Object



751
752
753
754
755
756
# File 'lib/opennebula/flow/grammar.rb', line 751

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

    return [val, st]
end