add source to the to_s

This commit is contained in:
Torsten Ruger
2018-03-22 18:38:19 +02:00
parent 19afc376f4
commit 9932d0bf33
11 changed files with 21 additions and 12 deletions

View File

@ -26,7 +26,7 @@ module Risc
attr_reader :from, :to
def to_s
"Transfer: #{from} -> #{to}"
class_source "#{from} -> #{to}"
end
end
def self.transfer( source , from , to)