class Thor::Actions::CreateFile
def invoke!
def invoke! invoke_with_conflict_check do FileUtils.mkdir_p(File.dirname(destination)) File.open(destination, 'wb') { |f| f.write render } end given_destination end
def invoke! invoke_with_conflict_check do FileUtils.mkdir_p(File.dirname(destination)) File.open(destination, 'wb') { |f| f.write render } end given_destination end