Created
December 7, 2010 22:24
-
-
Save BrandonMathis/732549 to your computer and use it in GitHub Desktop.
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
class Symbol | |
def to_ccom | |
self case | |
when :id_in_source | |
return "IdInInfoSource" | |
when :guid | |
return "GUID" | |
else | |
return self.to_s.camelize | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment