Ruby/DL translation

B

Benjamin Peterson

Hi,

Well, it seems my web hosts decided to unilaterally stop doing
business a couple of minutes after I put up the Ruby/DL tutorial. How
nice.

I have posted it again on geocities, so the link at

http://raa.ruby-lang.org/project/rdl_en/

is now working. So _now_ you can read it.

Sorry for the mix up,
Benjamin
 
M

Michael DeHaan

This will be a great way to rapidly bump up the # of Ruby modules out
there... glad to see English docs!
 
C

coke

Thanks,I've been looking for tutorials.If you want to save on
bandwidth I can mirror it.
 
T

tad.bochan

Hi,
I'm using the latest stable release of ruby (ruby182-15) on Windows XP
and am having problems with trying to run some example code.
Could someone please tell me what I'm doing wrong here ?
Or is 'generator.rb' broken ?

I'm baffled.

Example:
require 'generator'
# Generator from an Enumerable object
g = Generator.new(['A', 'B', 'C', 'Z'])

Result:
================ RuntimeError =====================
c:\ruby\lib\ruby\1.8/generator.rb:96:in `call'
@cont_next.call(nil)
c:\ruby\lib\ruby\1.8/generator.rb:96:in `yield'
@cont_next.call(nil)
c:\ruby\lib\ruby\1.8/generator.rb:72:in `initialize'
enum.each { |x| g.yield x }
c:\ruby\lib\ruby\1.8/generator.rb:72:in `each'
enum.each { |x| g.yield x }
c:\ruby\lib\ruby\1.8/generator.rb:72:in `initialize'
enum.each { |x| g.yield x }
c:\ruby\lib\ruby\1.8/generator.rb:71:in `call'
@block = proc { |g|
c:\ruby\lib\ruby\1.8/generator.rb:83:in `initialize'
@block.call(self)
C:\Tad\RB\gen01.rb:4:in `new'
g = Generator.new(['A', 'B', 'C', 'Z'])
C:\Tad\RB\gen01.rb:4
g = Generator.new(['A', 'B', 'C', 'Z'])
c:\ruby\lib\ruby\site_ruby\1.8/rubygems/custom_require.rb:18:in `require__'
require__ path
c:\ruby\lib\ruby\site_ruby\1.8/rubygems/custom_require.rb:18:in `require'
require__ path

=============================================
Exception: continuation called across trap

Program exited with code 101
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top