Sha256: 62c5834af737feff9069911fad82146eea37aea6f77132c2ec8949a615acdcf6
Contents?: true
Size: 459 Bytes
Versions: 68
Compression:
Stored size: 459 Bytes
Contents
# Argument handling for your daemon is configured here. # # You have access to two variables when this file is # parsed. The first is +opts+, which is the object yielded from # +OptionParser.new+, the second is +@options+ which is a standard # Ruby hash that is later accessible through # DaemonKit.arguments.options and can be used in your daemon process. # Here is an example: # opts.on('-f', '--foo FOO', 'Set foo') do |foo| # @options[:foo] = foo # end
Version data entries
68 entries across 52 versions & 8 rubygems