1.9

names = ["Jane", "Michele", "Isabella"]

# current behaviour
names.each do |name|
  print name
end

#Question: How can I alter the behaviour of "each" in the following
way:
names.each do
  print item         # "item" is used by default
end

Is this possible, without going to C-level?

.

--
http://lazaridis.com