Changes between Version 23 and Version 24 of StandardLibraryExtensionMethods
- Timestamp:
- 09/23/12 05:14:42 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StandardLibraryExtensionMethods
v23 v24 264 264 assert [].join('.', ':') == '' 265 265 266 266 267 extend IEnumerable<of T> 267 268 … … 421 422 """ 422 423 ensure not .containsKey(key) implies result == default 424 425 426 extend Process 427 428 def runAndCaptureAllOutput as String 429 """ 430 Example: 431 p = System.Diagnostics.Process() 432 p.startInfo.fileName = 'some-program' 433 p.startInfo.arguments = 'foo bar baz' 434 output = p.runAndCaptureAllOutput 435 trace p, p.exitCode, output 436 """ 437 return .runAndCaptureAllOutput(false) 438 439 def runAndCaptureAllOutput(verbose as bool) as String 423 440 }}} 424 441 You can see the full source for these in the [source:cobra/trunk/Source/Cobra.Lang source Cobra.Lang directory].