method

append_to

ruby latest stable - Class: Bundler::Injector

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

append_to(gemfile_path, new_gem_lines)
private

No documentation available.

# File lib/bundler/injector.rb, line 119
    def append_to(gemfile_path, new_gem_lines)
      gemfile_path.open("a") do |f|
        f.puts
        f.puts new_gem_lines
      end
    end