✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods
    • Close
  • Ami Lau
    Ami Lau
    8,067 Points

    Stuck: Ruby Objects & Classes - Variables & Methods - Challenge Task 4 of 4

    Posted on Feb 13, 2018 by Ami Lau
    Ami Lau
    8,067 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • ojasve GARG
    ojasve GARG
    698 Points

    Oops! It looks like Task 1 is no longer passing. Get Help

    Posted on Feb 12, 2018 by ojasve GARG
    ojasve GARG
    698 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • victor manda
    PLUS
    victor manda
    Courses Plus Student 2,479 Points

    Task 1 is not working!

    Posted on Feb 2, 2018 by victor manda
    victor manda
    Courses Plus Student 2,479 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • victor manda
    PLUS
    victor manda
    Courses Plus Student 2,479 Points

    pass on till to the name instance

    Posted on Feb 2, 2018 by victor manda
    victor manda
    Courses Plus Student 2,479 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • victor manda
    PLUS
    victor manda
    Courses Plus Student 2,479 Points

    Name variable not found

    Posted on Feb 1, 2018 by victor manda
    victor manda
    Courses Plus Student 2,479 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • victor manda
    PLUS
    victor manda
    Courses Plus Student 2,479 Points

    Not sure I understand the question and what its asking me to do

    Posted on Feb 1, 2018 by victor manda
    victor manda
    Courses Plus Student 2,479 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Francisco Nolla
    Francisco Nolla
    15,085 Points

    In the initialize method of the Name class, set an instance variable called @title to the title argument.

    Posted on Nov 15, 2017 by Francisco Nolla
    Francisco Nolla
    15,085 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Alicja Dul
    Alicja Dul
    8,589 Points

    In the initialize method of the Name class, set an instance variable called @title to the title argument. Note: you will

    Posted on Oct 18, 2017 by Alicja Dul
    Alicja Dul
    8,589 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Kyle Shamblin
    Kyle Shamblin
    9,945 Points

    Call the title method on the name instance. Syntax error?

    Posted on May 21, 2017 by Kyle Shamblin
    Kyle Shamblin
    9,945 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • uc
    uc
    4,309 Points

    Calling the method

    Posted on Feb 19, 2017 by uc
    uc
    4,309 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • uc
    uc
    4,309 Points

    I didn't get it why we're doing this and what's wrong with my code?

    Posted on Feb 18, 2017 by uc
    uc
    4,309 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    How is this done?

    Posted on Nov 15, 2016 by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Eylon Cohen
    Eylon Cohen
    4,779 Points

    instance varible

    Posted on Nov 13, 2016 by Eylon Cohen
    Eylon Cohen
    4,779 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Alestaire Caines
    Alestaire Caines
    70 Points

    I don't get what they want me to do.

    Posted on May 19, 2016 by Alestaire Caines
    Alestaire Caines
    70 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Alistair Mackay
    Alistair Mackay
    7,812 Points

    [SOLVED]Variables & Methods (Part 2): Unsure of what's being asked.

    Posted on Apr 12, 2016 by Alistair Mackay
    Alistair Mackay
    7,812 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    0 Answers

  • Jason Chow
    Jason Chow
    4,428 Points

    Ruby Objects and Classes

    Posted on Nov 18, 2015 by Jason Chow
    Jason Chow
    4,428 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Michelle Button
    Michelle Button
    1,520 Points

    In the initialize method of the Name class, set an instance variable called @title to the title argument. Note: you will

    Posted on Nov 8, 2015 by Michelle Button
    Michelle Button
    1,520 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Corey Holmes
    Corey Holmes
    1,993 Points

    Inside the Name class, create a method called title that returns the @title variable.

    Posted on Nov 5, 2015 by Corey Holmes
    Corey Holmes
    1,993 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • james conigliaro
    james conigliaro
    3,502 Points

    i am pretty lost, i am not sure if i have to add the name = Name.new, and if i have to add in title to the methods

    Posted on Sep 18, 2015 by james conigliaro
    james conigliaro
    3,502 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Steven Martinez
    Steven Martinez
    2,146 Points

    Inside the Name class, create a method called title that returns the @title variable:

    Posted on Jun 29, 2015 by Steven Martinez
    Steven Martinez
    2,146 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Daniel Ahmadizadeh
    Daniel Ahmadizadeh
    1,979 Points

    Why is my code wrong?

    Posted on Jun 14, 2015 by Daniel Ahmadizadeh
    Daniel Ahmadizadeh
    1,979 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    2 Answers

  • Terdema Ussery
    Terdema Ussery
    2,477 Points

    Not sure what I am doing wrong

    Posted on May 11, 2015 by Terdema Ussery
    Terdema Ussery
    2,477 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Erin Kross
    Erin Kross
    9,555 Points

    "Bummer! The initialize method did not take an argument"

    Posted on Apr 20, 2015 by Erin Kross
    Erin Kross
    9,555 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    5 Answers

  • Jonathan Lepselter
    Jonathan Lepselter
    1,864 Points

    Issues instantiating a new class with an argument

    Posted on Feb 9, 2015 by Jonathan Lepselter
    Jonathan Lepselter
    1,864 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Courtney Glasgow
    Courtney Glasgow
    2,127 Points

    How do you call the title method on the name instance?

    Posted on Jan 18, 2015 by Courtney Glasgow
    Courtney Glasgow
    2,127 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • Clair Griffiths
    Clair Griffiths
    10,158 Points

    Why do I have to create a title variable (wouldn't @title be sufficient?)

    Posted on Jan 6, 2015 by Clair Griffiths
    Clair Griffiths
    10,158 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    1 Answer

  • drizzy drake
    PLUS
    drizzy drake
    Courses Plus Student 2,469 Points

    Below the Name class, instantiate a new Name instance set to the variable name with any title you choose.

    Posted on Dec 15, 2014 by drizzy drake
    drizzy drake
    Courses Plus Student 2,469 Points
    • Ruby
    • Ruby Objects and Classes
    • Variables and Methods
    • Variables and Methods

    6 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.