class HardwareInformation::SinatraMyHardware

Constants

USE_THIS_PORT
#

USE_THIS_PORT

#

Public Class Methods

new() click to toggle source
#

initialize

#
Calls superclass method
# File lib/hardware_information/www/my_hardware_for_sinatra.rb, line 23
def initialize
  super()
  target = "http://localhost:#{USE_THIS_PORT}/"
  Cyberweb.try_to_open_this_URL_via_the_browser(target, USE_THIS_PORT)
end
start_sinatra_interface() click to toggle source
#

HardwareInformation::SinatraMyHardware.start_sinatra_interface

#
# File lib/hardware_information/www/my_hardware_for_sinatra.rb, line 47
def self.start_sinatra_interface
  ::HardwareInformation::SinatraMyHardware.run!
end