Method: Qa::ApidocGenerator#add_to_gemfile

Defined in:
lib/generators/qa/apidoc/apidoc_generator.rb

#add_to_gemfileObject



11
12
13
14
15
16
17
# File 'lib/generators/qa/apidoc/apidoc_generator.rb', line 11

def add_to_gemfile
  gem 'swagger-docs'

  Bundler.with_clean_env do
    run "bundle install"
  end
end