did return sequence

surprisingly easy. also some check polish
This commit is contained in:
2020-03-03 16:09:41 +02:00
parent fd43fc9e5c
commit a4c0b8e5f9
7 changed files with 65 additions and 26 deletions

View File

@ -19,7 +19,8 @@ module SlotMachine
def set_label(false_label)
@false_label = false_label
raise "Jump target must be a label #{false_label}" unless false_label.is_a?(Label) end
raise "Jump target must be a label #{false_label}" unless false_label.is_a?(Label)
end
end
end