Learn about our new Community Discord server here and join us on Discord here!

Jump into our new React Basics course 😎

Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰

Probe The AI Multiverse: Exploring the Subfields of Artificial Intelligence 😮

Students: got a cool project or resource to share? Submit it to Treehouse Links! 🤩

Learn about our new Community Discord server here and join us on Discord here!

🤖 Check out all our AI content here 👀

  • Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • AI
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
  • Matthew Main
    Matthew Main
    7,566 Points

    What are the syntax rules following "require" in Ruby?

    Posted June 2, 2015 2:06pm by Matthew Main
    Matthew Main
    7,566 Points
    • Ruby
    • Ruby Foundations
    • Ruby Core
    • Enumerable

    1 Answer

  • David Czerepak
    David Czerepak
    11,865 Points

    bank_account.rb:32:in `initialize': wrong number of arguments (1 for 0) (ArgumentError) from bank_account.rb:32

    Posted March 21, 2015 4:18pm by David Czerepak
    David Czerepak
    11,865 Points
    • Ruby
    • Ruby Foundations
    • Ruby Core
    • Enumerable

    2 Answers

  • Unsubscribed User
    Unsubscribed User
    3,309 Points

    Can someone help me understand when and why to use Enumerators and Enumerable?

    Posted January 28, 2015 7:49pm by Unsubscribed User
    Unsubscribed User
    3,309 Points
    • Ruby
    • Ruby Foundations
    • Ruby Core
    • Enumerable

    6 Answers

  • John Stoveld
    John Stoveld
    4,203 Points

    Error on Jason's code : Line 24 : issue with inject.

    Posted January 15, 2015 6:49pm by John Stoveld
    John Stoveld
    4,203 Points
    • Ruby
    • Ruby Foundations
    • Ruby Core
    • Enumerable

    1 Answer

  • Boris Baskovec
    Boris Baskovec
    4,798 Points

    What is @balance?

    Posted December 3, 2014 6:31pm by Boris Baskovec
    Boris Baskovec
    4,798 Points
    • Ruby
    • Ruby Foundations
    • Ruby Core
    • Enumerable

    1 Answer

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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.