Method: Fable::ChoicePoint#to_s
- Defined in:
- lib/fable/choice_point.rb
#to_s ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'lib/fable/choice_point.rb', line 54 def to_s target_line_number = debug_line_number_of_path(path_on_choice) target_string = path_on_choice.to_s if !target_line_number.nil? target_string = " line #{target_line_number} (#{target_string})" end return "Choice: -> #{target_string}" end |