Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rake/helpers/string.rb
Overview
extend class String with a ‘prepend` method
Instance Method Summary collapse
Instance Method Details
#prepend(value) ⇒ Object
6 7 8 |
# File 'lib/rake/helpers/string.rb', line 6 def prepend(value) insert(0, value) end |