Created
February 20, 2011 04:54
-
-
Save CraigWilliams/835712 to your computer and use it in GitHub Desktop.
Xcode - Wraps selected text with comment and pragma mark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
var = STDIN.read.upcase | |
print " | |
//--------------------------------------------- | |
// #{var} | |
//--------------------------------------------- | |
#pragma mark - | |
#pragma mark #{var}\n\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment