add parfait block

This commit is contained in:
Torsten Ruger
2018-07-07 15:50:43 +03:00
parent 9005513368
commit 2f07cc34f3
11 changed files with 83 additions and 9 deletions

View File

@ -5,10 +5,7 @@ module Parfait
def setup
super
@obj = Parfait.object_space.get_class_by_name(:Object).instance_type
@args = Parfait::Type.for_hash( @obj.object_class , { bar: :Integer , foo: :Type})
@frame = Parfait::Type.for_hash( @obj.object_class , { local_bar: :Integer , local_foo: :Type})
@method = Parfait::CallableMethod.new( @obj , :meth , @args , @frame)
make_method
end
def test_method_name