Module Sinatra::Irb
In: lib/sinatra/irb.rb

Sinatra Irb is entered via ruby myapp.rb -c (replace myapp.rb with your app filename)

Be sure to also check out Sinatra::TestMethods for more cool stuff when your in Irb

Methods

exit   mate   reload!   show!  

Public Instance methods

[Source]

    # File lib/sinatra/irb.rb, line 47
47:       def exit
48:         exit!
49:       end
mate(editor = nil)

Alias for show!

Reload all Sinatra and App specific files

[Source]

    # File lib/sinatra/irb.rb, line 17
17:         def reload!
18:           Loader.reload!
19:         end

Show the body with result info in your text editor!!! Great Job!

[Source]

    # File lib/sinatra/irb.rb, line 22
22:         def show!(editor = nil)
23:           editor = editor || ENV['EDITOR']
24:           IO.popen(editor, 'w') do |f| 
25:             f.puts "<!--"
26:             f.puts result_info
27:             f.puts "-->"
28:             f.puts
29:             f.puts body
30:           end
31:           nil
32:         end

[Validate]