Skip to content

Commit

Permalink
Merge pull request #587 from kachick/implement-symbol-id2name
Browse files Browse the repository at this point in the history
Implement Symbol#id2name
  • Loading branch information
alex committed Apr 9, 2013
2 parents be2b0f1 + f670565 commit 81ab361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib-topaz/symbol.rb
Expand Up @@ -8,6 +8,8 @@ def to_sym
end
alias intern to_sym

alias id2name to_s

def succ
self.to_s.succ.to_sym
end
Expand Down
1 change: 0 additions & 1 deletion spec/tags/core/symbol/id2name_tags.txt

This file was deleted.

0 comments on commit 81ab361

Please sign in to comment.