lib/lucid/generator.rb in lucid-0.2.0 vs lib/lucid/generator.rb in lucid-0.2.1

- old
+ new

@@ -1,18 +1,18 @@ require 'thor' require 'lucid/generators/project' module Lucid class Generator < Thor - desc "project NAME", "Create a new project." + desc 'project NAME', 'Create a new project.' #method_option :browser, aliases: "-b", type: :boolean, desc: "Use for browser-based testing." - method_option :driver, aliases: "-d", type: :string, required: false, desc: "Framework driver to use. (Default value is 'symbiont'.)" + method_option :driver, aliases: '-d', type: :string, required: false, desc: "Framework driver to use. (Default value is 'fluent'.)" def project(name) puts "Name of project: #{name}" - driver = options[:driver].nil? ? 'symbiont' : options[:driver] + driver = options[:driver].nil? ? 'fluent' : options[:driver] #browser = options[:browser] == true ? 'true' : 'false' #Lucid::Generators::Project.start([name, browser, driver]) Lucid::Generators::Project.start([name, driver]) end \ No newline at end of file