Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Modules Ruby Core Modules Math

Task1 is no longer passing

hmmmm.....I'm really quite confused

when I get to task 3 and assign @sqrt to Math.sqrt, it tells me that task 1 is no longer working. the first assignment I did.

and apparently modules can also have methods are called like class methods or they can have class methods like is sqrt directly inside of the Math module?

@pi = Math::PI
@e  = Math::E
sqrt = Math.sqrt

1 Answer

james south
.a{fill-rule:evenodd;}techdegree seal-36
james south
Front End Web Development Techdegree Graduate 33,271 Points

you took the @ off the front and haven't supplied the requested argument of 9. add those and it will work. challenges often say an earlier task is no longer passing when you introduce an error in the current task.