small refactor on arg loading

This commit is contained in:
Torsten Ruger
2016-12-28 21:10:14 +02:00
parent fa9807102b
commit c60949fe24
6 changed files with 36 additions and 30 deletions

View File

@ -28,7 +28,7 @@ module Register
attr_accessor :register , :array , :index
def to_s
"#{self.class.name}: #{register} -> #{array}[#{index}]"
"#{self.class.name.split("::").last}: #{register} -> #{array}[#{index}]"
end
end