Class: Roebe::GUI::Sinatra::Md5Comparer
- Inherits:
-
Cyberweb::Sinatra
- Object
- Cyberweb::Sinatra
- Roebe::GUI::Sinatra::Md5Comparer
show all
- Extended by:
- Cyberweb::Sinatra::CustomExtensions
- Includes:
- Cyberweb::Objectified::HtmlTags, Cyberweb::Sinatra::CustomExtensions, Md5ComparerModule
- Defined in:
- lib/roebe/gui/sinatra/md5_comparer/md5_comparer.rb
Overview
Roebe::GUI::Sinatra::Md5Comparer
Constant Summary
collapse
- USE_THIS_PORT =
'4567'
Instance Method Summary
collapse
Constructor Details
#initialize(optional_commandline_arguments = ARGV) ⇒ Md5Comparer
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# File 'lib/roebe/gui/sinatra/md5_comparer/md5_comparer.rb', line 42
def initialize(
optional_commandline_arguments = ARGV
)
require 'cyberweb/sinatra/base/set_use_this_port.rb'
::Cyberweb::Sinatra.set_use_this_port(USE_THIS_PORT)
shall_we_open_via_the_browser = true
_ = optional_commandline_arguments
if _.is_a?(Array) and !_.empty?
first = _.first
case first
when :do_not_open_via_the_browser
shall_we_open_via_the_browser = false
end
elsif _.is_a? Symbol
case _
when :do_not_open_via_the_browser
shall_we_open_via_the_browser = false
end
end
super(
optional_commandline_arguments,
:default,
shall_we_open_via_the_browser
)
reset
end
|
Instance Method Details
75
76
|
# File 'lib/roebe/gui/sinatra/md5_comparer/md5_comparer.rb', line 75
def reset
end
|