method

invoke!

ruby latest stable - Class: Bundler::Thor::Actions::CreateFile

Method not available on this version

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

invoke!()
public

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/actions/create_file.rb, line 59
      def invoke!
        invoke_with_conflict_check do
          require "fileutils"
          FileUtils.mkdir_p(File.dirname(destination))
          File.open(destination, "wb") { |f| f.write render }
        end
        given_destination
      end