class Thor::Actions::CreateFile
def invoke!
def invoke! invoke_with_conflict_check do require "fileutils" FileUtils.mkdir_p(File.dirname(destination)) File.open(destination, "wb", config[:perm]) { |f| f.write render } end given_destination end
def invoke! invoke_with_conflict_check do require "fileutils" FileUtils.mkdir_p(File.dirname(destination)) File.open(destination, "wb", config[:perm]) { |f| f.write render } end given_destination end