1 class Nums
    2   def each; (1..5).each { |x| yield x}; end
    3 end