Open raq929 opened 7 years ago
Why didn't you add this in the 016 update?
I wanted to discuss it with someone before adding it in, but I didn't really have time. It also opens up a potential rabbit hole. This material is pretty well covered in ruby-object-class-methods.
Why not combine those?
class Person
def self.a_class_method
puts "In a class method, self is #{self}."
end
end
Also, what's the hole with rabbits?
The current code is
I think we should also include the more practical use case: