# File lib/slop/commands.rb, line 36 def initialize(config = {}, &block) @config = config @commands = {} @banner = nil @triggered_command = nil warn "[DEPRECATED] Slop::Commands is deprecated and will be removed in "\ "Slop version 4. Check out http://leejarvis.github.io/slop/#commands for "\ "a new implementation of commands." if block_given? block.arity == 1 ? yield(self) : instance_eval(&block) end end