You are viewing a single comment's thread. Return to all comments →
You have to call the method on an object. I was getting this error, when I was callin the method with no object.
ex. obj.method
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Control Structures - Each
You are viewing a single comment's thread. Return to all comments →
You have to call the method on an object. I was getting this error, when I was callin the method with no object.
ex. obj.method