Sha256: 5f386e5e2a572faf28cda959424b675e23eadd449c44e2fd51f941d7b2721923
Contents?: true
Size: 862 Bytes
Versions: 22
Compression:
Stored size: 862 Bytes
Contents
U:RDoc::AnyMethod[iI"when_writing:EFI"$Rake::FileUtilsExt#when_writing;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DUse this function to prevent potentially destructive ruby code ;TI"0from running when the :nowrite flag is set.;To:RDoc::Markup::BlankLine o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I")when_writing("Building Project") do ;TI" project.build ;TI" end ;T:@format0o; ; [I"<The following code will build the project under normal ;TI"Dconditions. If the nowrite(true) flag is set, then the example ;TI"will print:;T@o;; [I"DRYRUN: Building Project ;T; 0o; ; [I".instead of actually building the project.;T: @fileI"lib/rake/file_utils_ext.rb;T:0@omit_headings_from_table_of_contents_below00I"