Ruby global scoping
class Animal
def dog
"I'm a dog"
end
def cat
"I'm a cat"
end
def bird
"I'm a bird"
end
end
# I want something like this to happend:
animal = Animal.new() do
dog # => "I'm a dog"
cat # => "I'm a cat"
bird # => "I'm a bird"
end