Ruby beginner here.
I noticed the following code in the pickaxe book 1.9 page 101:
---------------------
class VowelFinder
 include Enumerable
 def initialize(string)
  @string = string
 end
 def each
  @string.scan(/[aeiou]/) do |vowel|
  yield vowel
  end
 end
end
--------------------
What does it mean to have a *yield* inside a block? I thought yield is
the way a method calls the block. Here the only yield is inside a block
and there is no other method.

-- 
Posted via http://www.ruby-forum.com/.