store method, not name, in message

changes the calling and thus too many test
This commit is contained in:
Torsten Ruger
2018-07-22 22:29:32 +03:00
parent b6c85cd4a4
commit d80ef4bf4e
41 changed files with 384 additions and 398 deletions

View File

@ -18,7 +18,7 @@ module Parfait
attr_accessor :next_message
attr_reader :receiver , :frame
attr_reader :return_address, :return_value
attr_reader :caller , :name , :arguments
attr_reader :caller , :method , :arguments
def initialize( next_m )
@next_message = next_m
@ -40,7 +40,7 @@ module Parfait
get_at(index)
end
def to_s
"Message:#{name}(#{arguments.get_length})"
"Message:#{method&.name}(#{arguments.get_length})"
end
end
end