r/learnruby • Beginner • Sep 24 '15

Can someone critique my code?

https://gitlab.com/snippets/8840

Hey all,

I wrote a little Ruby timer application the other day for my own purposes. The goal of the application is to track time spent on a particular task, store the time spent, and be able to give back a total. I am a beginner to Ruby and programming in general, and I'm still struggling with some of the OO-concepts like class and instance variables.

Please be as critical as you wish!

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Niek_pas Beginner Sep 25 '15

Wow, very helpful! Thanks a lot! This clears up a lot.