# Extract value from resulting array to a method

July 22, 2018

For example, we have method output like:

We can use it this way:

And inside do_calculations we can access result by calling method result:

Extract value from resulting array to a method - July 22, 2018 - {"name"=>"Stanislav Knyazev", "email"=>"extazystas@gmail.com"}