Module: Push::String
- Included in:
- String
- Defined in:
- lib/mightystring/string_push.rb
Instance Method Summary collapse
-
#push(x) ⇒ Object
Push character in String.
Instance Method Details
#push(x) ⇒ Object
Push character in String
9 10 11 |
# File 'lib/mightystring/string_push.rb', line 9 def push(x) self << x.to_s end |