class Tryruby::Runner
Startup class of the shell
Public Class Methods
start(tutorials)
click to toggle source
# File lib/tryruby/runner.rb, line 9 def self.start(tutorials) Ripl::Shell.include Tryruby::Shell Ripl::Commands.include Tryruby::Commands tutorials.each do |tutorial| tutorial.each { |level| Ripl.shell.levels << level } Ripl::Commands.include tutorial.commands end Ripl.start end