Skip to content
Browse files

added Symbol#{upcase,downcase}

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 9, 2013
1 parent c0d2172 commit 5a167527b262dc4430de31282077c85d83ee4b2c

This file was deleted.

This file was deleted.

@@ -55,3 +55,11 @@ def method_comparator(self, space, w_other):
return space.newint(0)
elif s1 > s2:
return space.newint(1)

def method_downcase(self, space):
return space.newsymbol(self.symbol.lower())

def method_upcase(self, space):
return space.newsymbol(self.symbol.upper())

0 comments on commit 5a16752

Please sign in to comment.
You can’t perform that action at this time.