Top Level Namespace
Defined Under Namespace
Classes: HistWatch, HistoryCommander, HistoryCommanderDaemon, SetupBashrc
Constant Summary collapse
- @@options =
saved_opts.merge passed_in_opts
Instance Method Summary collapse
- #check_options ⇒ Object
-
#join ⇒ Object
Development ENV only.
Instance Method Details
#check_options ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'bin/hc', line 29 def [:user, :pass, :vhost, :amqp_host, :mode].each do |req| unless @@options[req] puts "FATAL: you must specify --#{req} in your history_commander config file or on the command line, see --help" exit 1 end end end |
#join ⇒ Object
Development ENV only
4 |
# File 'bin/hc', line 4 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) |