Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Ami Lau
    Ami Lau
    8,067 Points

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

    Posted February 13, 2018 9:16am 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 February 12, 2018 9:31pm 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 February 2, 2018 1:58am 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 February 2, 2018 1:38am 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 February 1, 2018 2:43am 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 February 1, 2018 1:02am 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 November 15, 2017 10:03pm 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 October 18, 2017 6:21pm 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 May 21, 2017 4:36am 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 February 19, 2017 2:10pm 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 February 18, 2017 9:25am 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 November 15, 2016 5:44pm 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 November 13, 2016 2:25pm 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 May 19, 2016 3:36am 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 April 12, 2016 1:28pm 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 November 18, 2015 8:37pm 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 November 8, 2015 3:08pm 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 November 5, 2015 10:00pm 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 September 18, 2015 2:32pm 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 June 29, 2015 8:26pm 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 June 14, 2015 6:53pm 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 May 11, 2015 9:03pm 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 April 20, 2015 4:56pm 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 February 9, 2015 8:14pm 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 January 18, 2015 8:20am 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 January 6, 2015 6:49pm 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 December 15, 2014 12:26am 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord