class RBT::Sinatra
Constants
- IS_ROEBE
#¶ ↑
IS_ROEBE
¶ ↑#¶ ↑
- USE_THIS_PORT
#¶ ↑
USE_THIS_PORT
¶ ↑#¶ ↑
Public Class Methods
new()
click to toggle source
#¶ ↑
initialize¶ ↑
#¶ ↑
Calls superclass method
# File lib/rbt/www/app.rb, line 54 def initialize super() reset if IS_ROEBE require 'open_in_browser' # ===================================================================== # # Tell us which port will be used: # ===================================================================== # target = "http://localhost:#{USE_THIS_PORT}/" e sfancy(target) Thread.new { sleep 1.0 OpenInBrowser[target] } end end
Public Instance Methods
return_available_actions()
click to toggle source
return_main_index()
click to toggle source