class Basic101::StopStatement

Public Instance Methods

execute(runtime) click to toggle source
# File lib/basic101/stop_statement.rb, line 9
def execute(runtime)
  runtime.output.puts "Break in line #{@line.line_number}"
  runtime.end_program
end