|
|
Created by Edmond Pruteanu
over 11 years ago
|
|
| Question | Answer |
| Class definition | class Box code end |
| Object definition | box1 = Box.new box2 = Box.new |
| Initialize method | class Box def initialize(w,h) @width, @height = w, h end end |
Want to create your own Flashcards for free with GoConqr? Learn more.