mostly brackets and formatting

This commit is contained in:
Torsten Ruger
2018-03-23 18:55:23 +02:00
parent c51e593335
commit b4a18bc59b
5 changed files with 10 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ module Risc
end
def source_mini
return "(no source)" unless source
return "(from: #{source[0..15]})" if source.is_a?(String)
return "(from: #{source[0..25]})" if source.is_a?(String)
"(from: #{source.class.name.split("::").last})"
end
end