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
  • Charles Strawn
    Charles Strawn
    3,462 Points

    example2.rb is not working in Ruby version 2.0.0p353

    Posted May 7, 2015 9:59pm by Charles Strawn
    Charles Strawn
    3,462 Points
    • Ruby
    • Ruby Foundations
    • Blocks
    • Working With Blocks

    1 Answer

  • David Bell
    David Bell
    16,997 Points

    Why would I use blocks instead of creating functions or methods?

    Posted January 28, 2015 1:20am by David Bell
    David Bell
    16,997 Points
    • Ruby
    • Ruby Foundations
    • Blocks
    • Working With Blocks

    2 Answers

  • jay niceness
    jay niceness
    7,406 Points

    Block confusion...

    Posted November 25, 2014 6:20am by jay niceness
    jay niceness
    7,406 Points
    • Ruby
    • Ruby Foundations
    • Blocks
    • Working With Blocks

    1 Answer

  • Andrew Stelmach
    Andrew Stelmach
    12,583 Points

    Don't understand what's asked in the Extra Credit

    Posted October 12, 2014 8:44pm by Andrew Stelmach
    Andrew Stelmach
    12,583 Points
    • Ruby
    • Ruby Foundations
    • Blocks
    • Working With Blocks

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

© 2023 Treehouse Island, Inc.