Skip to content
Permalink
Browse files

Merge pull request #584 from kachick/implement-symbol-capitalize

Implement Symbol#capitalize
  • Loading branch information
alex committed Apr 9, 2013
2 parents 8aed98f + 88d6c5f commit 9992a670fa8ee14cc320b6f79d3e1d9bbee90567
Showing with 4 additions and 9 deletions.
  1. +4 −0 lib-topaz/symbol.rb
  2. +0 −9 spec/tags/core/symbol/capitalize_tags.txt
@@ -15,6 +15,10 @@ def succ
end
alias next succ

def capitalize
self.to_s.capitalize.to_sym
end

def swapcase
self.to_s.swapcase.to_sym
end

This file was deleted.

0 comments on commit 9992a67

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