Module: Aladdin::Commands::Server
Overview
Instance Method Summary collapse
-
#parse!(argv) ⇒ Void
Parses the command line arguments.
Instance Method Details
#parse!(argv) ⇒ Void
Parses the command line arguments.
16 17 18 19 20 21 |
# File 'lib/aladdin/commands/server.rb', line 16 def parse!(argv) opt_parser = OptionParser.new do |opts| opts. = "Usage: aladdin server [options] [LESSON_PATH]" end opt_parser.parse! argv end |