2015-04-08 19:24:50 +02:00
|
|
|
|
2015-04-15 10:38:46 +02:00
|
|
|
# Class derives from and derives most of it's functionality (that you would associate with a class)
|
|
|
|
# from there
|
|
|
|
|
|
|
|
# A Class is a module that can be instantiated
|
|
|
|
|
2015-04-08 19:24:50 +02:00
|
|
|
# An Object carries the data for the instance variables it has
|
|
|
|
# The Layout lists the names of the instance variables
|
|
|
|
# The class keeps a list of instance methods, these have a name and code
|
|
|
|
|
2015-04-15 10:38:46 +02:00
|
|
|
class Class < Module
|
|
|
|
# ruby 2.1 list (just for reference, keep at bottom)
|
|
|
|
#:allocate, :new, :superclass
|
2015-04-06 10:38:11 +02:00
|
|
|
end
|