I have a class like this
class Foo
attr_accessor :name
end
f = Foo.new
f.name = "bar"
and I would like it to respond to the following method chain with the name attribute so that it interfaces with another object
f.baz.name == f.name
Is there an easy way to return this?