10 Things Every Java Programmer Should Know About Ruby

More Things that are not Objects

  def with_block         def with_proc(&block)
    yield                  block.call
  end                    end

  with_block {           with_proc {
    # Never converted      # Converted internally
  }                      }