Trouble in the terminal.. Methods Exercise

I’ve been checking my answers by using “bundle exec rspec” which has been working fine up until just now.
Here is a screen shot of what i’m seeing :

Could some one tell me why all of a sudden i’m getting this error?
Thanks

Hi Carey,

It looks like the spec file is having trouble loading up the methods.rb file to run the test. The error we’re looking at is “syntax error, unexpected end-of-input, expecting keyword_end.” We have to check our methods.rb file–we may be missing an ‘end’ for one of the methods or statements. Let me know if you’re able to find it.

Thanks for the help!
Once I went back and rearranged my answer, it ended up working.
So there was definitely a syntax error.