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

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