re: When do you create a function or method? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

Put those right in Ruby files. Then when you require that file, you can use your functions.

So just one extra file where you put all functions (or methods in this case) related to that class?

code of conduct - report abuse