Class: BuildStatusServer::CLI
- Inherits:
-
Object
- Object
- BuildStatusServer::CLI
- Includes:
- CommandLineHelper::HelpText
- Defined in:
- lib/build_status_server/cli.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize ⇒ CLI
Returns a new instance of CLI.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/build_status_server/cli.rb', line 10 def initialize set_program_name begin rescue GetoptLong::MissingArgument puts show_help_and_exit end BuildStatusServer::Server.new().listen end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/build_status_server/cli.rb', line 8 def @options end |