Ruby

Discussion in 'Web Design & Coding' started by undeadpenguin, Jan 9, 2004.

  1. undeadpenguin

    undeadpenguin Bang. VIP Member

    Joined:
    Sep 1, 2003
    Messages:
    925
    Likes Received:
    4
    Location:
    US, CT
    Does anyone know ruby? This looks like a nifty little language... I think I'm goign to start learning it... Perl's getting boring...
     
    undeadpenguin, Jan 9, 2004
    #1
    1. Advertisements

  2. undeadpenguin

    undeadpenguin Bang. VIP Member

    Joined:
    Sep 1, 2003
    Messages:
    925
    Likes Received:
    4
    Location:
    US, CT
    Well I've been reading the book and have found it to be a pretty nice little language - completely OO (although I'm starting to dislike that aspect of it...).
     
    undeadpenguin, Jan 11, 2004
    #2
    1. Advertisements

  3. undeadpenguin

    DaVo Banned for Life

    Joined:
    Dec 18, 2003
    Messages:
    494
    Likes Received:
    1
    Location:
    Melbourne, OZ
    Sounds like a rugby leangue to me!

    I wouldn't have a clue what you are on about, sorry!
     
    DaVo, Jan 12, 2004
    #3
  4. undeadpenguin

    undeadpenguin Bang. VIP Member

    Joined:
    Sep 1, 2003
    Messages:
    925
    Likes Received:
    4
    Location:
    US, CT
    Well it doesn't look like anyone here knows it but I'll ask this anyway just in case someone does and didn't respond to the above... How do you generate a pseudo-random number in Ruby? In perl I'd do $num=int(rand($times));, but I seriously doubt you'd do it that way in Ruby... I need this to write a game...
     
    undeadpenguin, Jan 12, 2004
    #4
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...