# File lib/slop.rb, line 137 def initialize(config = {}, &block) @config = DEFAULT_OPTIONS.merge(config) @options = [] @trash = [] @triggered_options = [] @unknown_options = [] @callbacks = {} @separators = {} if block_given? block.arity == 1 ? yield(self) : instance_eval(&block) end if config[:help] on('-h', '--help', 'Display this help message.', :tail => true) do $stderr.puts help end end end