Returns a new instance of Base.
11 12 13 14 15 16 17 18 19
# File 'lib/cue/command/base.rb', line 11 def initialize(args) @options = OpenStruct.new.tap do |opts| opts.store = Cue::Store::Redis.new end @args = parser.parse(args) configure_store check_num_arguments end