more class test and misc

This commit is contained in:
2019-09-21 18:07:58 +03:00
parent 113ba8607c
commit 3b7248df4e
5 changed files with 55 additions and 3 deletions

View File

@ -44,6 +44,9 @@ module Parfait
def inspect
"Class(#{name})"
end
def to_s
inspect
end
def add_method_for(name , type , frame , body )
method = Parfait::VoolMethod.new(name , type , frame , body )