Classes

Description

RUBY Flashcards on Classes, created by Edmond Pruteanu on 26/07/2014.
Edmond Pruteanu
Flashcards by Edmond Pruteanu, updated more than 1 year ago
Edmond Pruteanu
Created by Edmond Pruteanu over 9 years ago
35
0

Resource summary

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
Show full summary Hide full summary

Similar

OOP (Object Oriented Programming)
Adam Cook
Unit 2 - Key Vocabulary
Shannon Anderson-Rush
Operator Precedence Rules in Ruby
Domhnall Murphy
Classes and Objects Quiz
joannazhang13
Spanish School Subjects
Maddie Medler
English I term 11a
caress414
Chapter 2: Basic Computation
Alexander Cintron
Ruby Basics
Andrei Ilinca
J.B Priestley - Background
Demi Wilkie
Biosynthesis of Natural Products
A G
Interesting Ruby Talks
tosbourn