So if I followed things correctly, Ruby (unlike PHP) does not accept procedural code.
I've read the ressources but I'm looking for someone who would agree to start from scratch with me (so I can ask question). About building a class that is.
1. How do you properly start a class.
2. How should look the constructor (is it an obligation to have a constructor)?
3. Are parent/private/protected keyowrds mandatory before member functions?
4. Once you've built your class, how do you instantiate it?
I know you could tell me to check the ressources etc. But honestly, I learn so much better with interactivity... If it's too lame, don't worry.
Thanks in advance :)