Question: I have an ASP.NET site that I am deploying to Azure Websites. I have a production and staging environment there and it is easy to get lost which is which. During the web deploy ("Publish") from Visual Studio, is there some simple way to deploy some kind of build info that I could display either via the site itself or through the Azure Portal?

Answer: 
```
a = { b:1 , c: { d:2, e:3 } }
address = [:c, :e]
address.inject(a, :[])
# => 3

```
A way using recursion:

```
def probe(h, address)
  address.size==1 ? h[address.first] : probe(h[address.first], address[1..-1])
end

h = { b:1 , c: { d:2, e:3 } }
a = [:c, :e]
probe(h,a) #=> 3

```

or, if you prefer:

```
def probe(h, address)
  begin
    probe(h[address.first], address[1..-1])
  rescue TypeError
    return h[address.first]
  end
end

```