Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7178827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:59:56+00:00 2026-05-28T16:59:56+00:00

I understand that the title was very vague and my apologies. I am using

  • 0

I understand that the title was very vague and my apologies. I am using Lynda.com to learn Ruby and am using 1.9.2 on Ubuntu 11.10.

Anyway. While following this tutorial I have purchased the example files for reference.

Following the Arrays section of this tutorial it tells me to type in stuff, and I’m to expect the same answer he gets. However…..

I don’t.

If you look at the screenshot they are not the same. Video is on the left, terminal is on the top right, the example file is on the bottom right. I am not getting the expected results. I have checked in the terminal settings and I don’t see anything that I’m missing. Please advise.

Also, I cannot post images because I am below 10 posts. Please copy and paste the link.

https://i.stack.imgur.com/p51K0.png

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:59:58+00:00Added an answer on May 28, 2026 at 4:59 pm

    enter image description hereThere is a typo in the irb where you are testing the code. It should have been:

    irb> data_set = []
    irb> data_set = ["a","b","c"]
    

    but you have mistyped it as data_set['a","b","c"] thats why its messing up. Notice that you have enclosed a in wrong set of quotes. See my image (ruby 1.9.2, Win 7)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think that is not easy to understand what I need reading title, so
I understand that we can set the various style attributes from code behind using
I understand that the title might not be descriptive enough, but I'm making a
Apologies for the very broadly title question. Basically this follows on from my earlier
As the title says, I need to create a very simple camera overlay while
I have a very simple Activity with the following layout... <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent android:layout_height=fill_parent
(OBS: English is not my native language and I understand that the title of
I understand that: '\n' // literally the backslash character followed by the character for
I understand that JVM and CLR were designed as stack-based virtual machines. When JIT
I understand that the em measurement is a relative unit for font-size, relative to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.