to_s for reg instructions

This commit is contained in:
Torsten Ruger
2015-07-24 13:23:56 +03:00
parent fa552bf751
commit 139b0174d8
10 changed files with 47 additions and 5 deletions

View File

@ -8,5 +8,10 @@ module Register
@method = method
end
attr_reader :method
def to_s
"FunctionCall(#{method.name})"
end
end
end
end