I\'m just breaking into the ruby world and I could use a helping hand.
Suppose b is nil.
b
nil
I\'d like the following code to return n
n
Check Ick's maybe:
maybe
a.b.maybe.c("d").maybe.e
or using a block:
a.b.maybe { |b| b.c("d").e }