- or download this
Proto = Class.new(Class) # Beware: magic.
def Proto.clone
Class.new(self)
end
- or download this
class PrototypeClass
attr_reader :prototype
...
end
Prototype = PrototypeClass.new(nil)
- or download this
@foo = Prototype.new %q{
attr_accessor :name
...
puts "Included module"
test_greet()