Skip to content

Instantly share code, notes, and snippets.

@BrandonMathis
Created December 7, 2010 22:24
Show Gist options
  • Save BrandonMathis/732549 to your computer and use it in GitHub Desktop.
Save BrandonMathis/732549 to your computer and use it in GitHub Desktop.
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