small label changes

This commit is contained in:
Torsten Ruger 2015-11-15 00:35:43 +02:00
parent b30cf21bbd
commit cea60f202a
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ module Parfait
end
def sof_reference_name
self.name
"Method: " + self.name.to_s
end
def inspect

View File

@ -158,7 +158,7 @@ module Parfait
private
def check_length
raise "Length out of bounds #{self.char_length}" if self.char_length > 108
raise "Length out of bounds #{self.char_length}" if self.char_length > 1000
end
end
end

View File

@ -18,7 +18,7 @@ module Register
"Label: #{@name} (#{self.next.class})"
end
def sof_reference_name
"Label: #{@name}"
@name
end
# a method start has a label of the form Class.method , test for that