Skip to content

Commit

Permalink
Add #string to String.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Nov 17, 2010
1 parent 298f135 commit 5ab9fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/poison/bootstrap/library/string.rb
Expand Up @@ -3,5 +3,7 @@ def pn_print
print self
end

poison_alias :string, :to_s

poison_methods
end

0 comments on commit 5ab9fd5

Please sign in to comment.