method
write_to_gemfile
v2_6_3 -
Show latest stable
- Class:
Bundler::SharedHelpers
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