Class: Sr71::CLI
- Inherits:
-
Object
- Object
- Sr71::CLI
- Defined in:
- lib/sr71/cli.rb
Defined Under Namespace
Classes: Options
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/sr71/cli.rb', line 26 def start = Options.new.parse!(ARGV) unless File.exists?([:sr71_config]) puts "Could not find #{options[:sr71_config]}. Specify correct location with -c file" exit 1 end Sr71.configure() Sr71.start! end |