```ruby
require "fileutils"
require "raml-rb"

require File.expand_path("../rspec/spec_file.rb", __FILE__)
require File.expand_path("../rspec/rambo_helper_file.rb", __FILE__)
require File.expand_path("../rspec/matcher_file.rb", __FILE__)

module Rambo
  class DocumentGenerator
    attr_accessor :file, :raml

    def initialize(file)
      @file = file
      @raml = Raml::Parser.parse_file(file)
    end

    def generate_spec_dir!
      FileUtils.mkdir_p("spec/contract")
    end

    def generate_spec_file!
      spec_file_name = file.match(/[^\/]*\.raml$/).to_s.gsub(/\.raml$/, "_spec.rb")
      contents       = Rambo::RSpec::SpecFile.new(raml).render
      File.open("spec/contract/#{spec_file_name}", "w+") do |f|
        f.puts contents
      end
    end

    def generate_rambo_helper!
      Rambo::RSpec::RamboHelperFile.new.generate
    end

    def generate_matcher_dir!
      FileUtils.mkdir_p("spec/support/matchers") && FileUtils.touch("spec/support/matchers/rambo_matchers.rb")
    end

    def generate_matchers!
      generate_matcher_dir!
      Rambo::RSpec::MatcherFile.new.generate
    end
  end
end
```

Delete extraneous line that wasn't helping anything
user
```ruby
require "fileutils"
require "raml-rb"

require File.expand_path("../rspec/spec_file.rb", __FILE__)
require File.expand_path("../rspec/rambo_helper_file.rb", __FILE__)
require File.expand_path("../rspec/matcher_file.rb", __FILE__)

module Rambo
  class DocumentGenerator
    attr_accessor :file, :raml

    def initialize(file)
      @file = file
      @raml = Raml::Parser.parse_file(file)
    end

    def generate_spec_dir!
      FileUtils.mkdir_p("spec/contract")
    end

    def generate_spec_file!
      spec_file_name = file.match(/[^\/]*\.raml$/).to_s.gsub(/\.raml$/, "_spec.rb")
      contents       = Rambo::RSpec::SpecFile.new(raml).render
      File.open("spec/contract/#{spec_file_name}", "w+") do |f|
        f.puts contents
      end
    end

    def generate_rambo_helper!
      Rambo::RSpec::RamboHelperFile.new.generate
    end

    def generate_matcher_dir!
      FileUtils.mkdir_p("spec/support/matchers") && FileUtils.touch("spec/support/matchers/rambo_matchers.rb")
    end

    def generate_matchers!
      Rambo::RSpec::MatcherFile.new.generate
    end
  end
end
```
assistant