def generate(class_name, class_path, method_names, options)
      validates(class_name, class_path)
      mtemplate = generate_method_template(class_name, method_names, options)
      @contents = generate_class_template(
        class_name, class_path, mtemplate.chop, options)
      create_spec_directory class_path
      File.open("./spec/#{class_path}_spec.rb", 'w:UTF-8') do |f|
        f.puts @contents
      end
      return unless output_product?(options)
      output_product_code(class_name, class_path, method_names)
    end
def generate(class_name, class_path, method_names, options)
      validates(class_name, class_path)
      mtemplate = generate_method_template(class_name, method_names, options)
      @contents = generate_class_template(
        class_name, class_path, mtemplate.chop, options)
      create_spec_directory class_path
      File.open("./spec/#{class_path}_spec.rb", 'w:UTF-8') do |f|
        f.puts @contents
      end
      return unless output_product?(options)
      output_product_code(class_name, class_path, method_names)
    end
initialize
 == generate rspec test case
 === params
- class_name: spec's module+class full name
- class_path: spec's class_path
  (if you want to create spec/hoge_spec.rb, you should set 'hoge_spec.rb')
- method_names: target class's method list
- options: options