method

write_to_gemfile

write_to_gemfile(gemfile_path, contents)
public

No documentation available.

# File lib/bundler/shared_helpers.rb, line 228
    def write_to_gemfile(gemfile_path, contents)
      filesystem_access(gemfile_path) {|g| File.open(g, "w") {|file| file.puts contents } }
    end