add to_s for statements

This commit is contained in:
Torsten Ruger
2018-07-03 22:18:19 +03:00
parent e099014d63
commit 2ad24ab0bb
11 changed files with 51 additions and 0 deletions

View File

@ -129,6 +129,11 @@ module Vool
message_setup(in_method,dynamic_call.cache_entry) << dynamic_call
end
def to_s(depth = 0)
sen = "#{receiver}.#{name}(#{@arguments.collect{|a| a.to_s}.join(', ')})"
at_depth(depth , sen)
end
private
def receiver_type_definition(in_method)
defi = @receiver.slot_definition(in_method)