I was watching a screencast with Jim Weirich where he started to do something like this:
class Subuser < User("Type")
end
Does Ruby let you pass arguments when defining a parent class? I can’t come up with an example where that would actually work.
You can do that by declaring a method
Userwhich takes an argument and returns a class: