2015-04-08 20:24:50 +03:00
|
|
|
|
2015-04-15 11:38:46 +03: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 20:24:50 +03: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 11:38:46 +03:00
|
|
|
class Class < Module
|
|
|
|
# ruby 2.1 list (just for reference, keep at bottom)
|
|
|
|
#:allocate, :new, :superclass
|
2015-04-06 11:38:11 +03:00
|
|
|
end
|