Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Interactive Ruby Demo

Interactive Ruby Demo

Scheduled Pinned Locked Moved The Lounge
rubycom
9 Posts 8 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adrian cooper
    wrote on last edited by
    #1

    I hope this is not a re-post, but this is a cool site.. Ruby has been the new buzz word for a while now and this interactive demo is a great way to get your mitts dirty. http://tryruby.hobix.com/[^] ade me; while(myKitchen.beerInFridge() == true) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }

    B N P B 4 Replies Last reply
    0
    • A adrian cooper

      I hope this is not a re-post, but this is a cool site.. Ruby has been the new buzz word for a while now and this interactive demo is a great way to get your mitts dirty. http://tryruby.hobix.com/[^] ade me; while(myKitchen.beerInFridge() == true) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #2

      It's a shame it's so painfully slow - I'm guessing it has to send all the code back to the server to get evaluated :-\ -- Help me! I'm turning into a grapefruit! Buzzwords!

      1 Reply Last reply
      0
      • A adrian cooper

        I hope this is not a re-post, but this is a cool site.. Ruby has been the new buzz word for a while now and this interactive demo is a great way to get your mitts dirty. http://tryruby.hobix.com/[^] ade me; while(myKitchen.beerInFridge() == true) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #3

        The current content of the page: Hi. Things are down for a bit. After 100,000 lines of Ruby code running through it's veins in a day's time... resources went thin. I'm going to have a waffle, mull things over, and get this back up in the next hour or so. Thanks for the interest. Sorry things got so crashy there at the end. Anyway, I started learning Ruby last year, but gave up when I realized no-one at work besides me was interested in it.


        My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

        1 Reply Last reply
        0
        • A adrian cooper

          I hope this is not a re-post, but this is a cool site.. Ruby has been the new buzz word for a while now and this interactive demo is a great way to get your mitts dirty. http://tryruby.hobix.com/[^] ade me; while(myKitchen.beerInFridge() == true) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          Nice find, thanks Adrian. One thing I love about working with Ruby on Rails is the Interactive Ruby Shell. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

          A 1 Reply Last reply
          0
          • A adrian cooper

            I hope this is not a re-post, but this is a cool site.. Ruby has been the new buzz word for a while now and this interactive demo is a great way to get your mitts dirty. http://tryruby.hobix.com/[^] ade me; while(myKitchen.beerInFridge() == true) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }

            B Offline
            B Offline
            BambooMoon
            wrote on last edited by
            #5

            > while(myKitchen.beerInFridge() == true) { > me.watchTV(); > me.consumeBeer(myKitchen.getBeerCan()); > } Isn't me.watchTV() modal? I think you need to put me.consumeBeer() on a high priority non-GUI thread.

            S 1 Reply Last reply
            0
            • B BambooMoon

              > while(myKitchen.beerInFridge() == true) { > me.watchTV(); > me.consumeBeer(myKitchen.getBeerCan()); > } Isn't me.watchTV() modal? I think you need to put me.consumeBeer() on a high priority non-GUI thread.

              S Offline
              S Offline
              Steve Mayfield
              wrote on last edited by
              #6

              the if(me.PassOut()) { break;} exit condition was omitted too...:burp: :) Steve

              1 Reply Last reply
              0
              • P Paul Watson

                Nice find, thanks Adrian. One thing I love about working with Ruby on Rails is the Interactive Ruby Shell. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

                A Offline
                A Offline
                Andrew Peace
                wrote on last edited by
                #7

                I'd never look at Ruby before, looks very much like Python actually. -- Andrew.

                N 1 Reply Last reply
                0
                • A Andrew Peace

                  I'd never look at Ruby before, looks very much like Python actually. -- Andrew.

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #8

                  Andrew Peace wrote:

                  I'd never look at Ruby before, looks very much like Python actually.

                  Woah - I thought you didn't hang around here any more. Or maybe I just missed all your posts :-)

                  A 1 Reply Last reply
                  0
                  • N Nish Nishant

                    Andrew Peace wrote:

                    I'd never look at Ruby before, looks very much like Python actually.

                    Woah - I thought you didn't hang around here any more. Or maybe I just missed all your posts :-)

                    A Offline
                    A Offline
                    Andrew Peace
                    wrote on last edited by
                    #9

                    I tend to read the Lounge fairly frequently, though I've not been around as much as I used to. I've possibly not posted so much recently, though not on purpose :). -- Andrew.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups