File: //usr/local/rvm/gems/ruby-3.0.2/doc/thor-1.1.0/ri/Thor/Actions/create_file-i.ri
U:RDoc::AnyMethod[iI"create_file:ETI"Thor::Actions#create_file;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MCreate a new file relative to the destination root with the given data, ;TI";which is the return value of a block or a data string.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli : textI"Parameters;To:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"destination<String>;T; [o;
; [I"/the relative path to the destination root.;To;;[I"data<String|NilClass>;T; [o;
; [I"$the data to append to the file.;To;;[I"config<Hash>;T; [o;
; [I"2give :verbose => false to not log the status.;T@S;;
i ;I"
Examples;T@o:RDoc::Markup::Verbatim; [I"'create_file "lib/fun_party.rb" do
;TI"D hostname = ask("What is the virtual hostname I should use?")
;TI"" "vhost.name = #{hostname}"
;TI" end
;TI"
;TI";create_file "config/apache.conf", "your apache config";T:@format0:
@fileI"$lib/thor/actions/create_file.rb;T:0@omit_headings_from_table_of_contents_below000[[I"
add_file;To;; [ ;@3;0I"!(destination, *args, &block);T@3FI"Actions;TcRDoc::NormalModule00