SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ruby Newbie Console Question

    Hello all,

    I am getting started with the sitepoint RoR book. I want to start messing around with the Ruby Shell but I don't seem to be getting the desired results.

    I have started the shell by typing irb into the Ruby Console

    Then for a test I type irb> 1

    The output is

    irb#1(main):001:0>

    If I try irb> 1 again I get
    irb#2(main):001:0>

    Any help would be appreciated, Thanks

  2. #2
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind I got it now.

    irb#1(main):001:0>

    is my irb promt duh!

    I feel half retarded

    irb#1(main):001:0> 1

    results in

    => 1


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •