Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/dummy/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#numerify ⇒ Object
2 3 4 |
# File 'lib/dummy/core_ext/string.rb', line 2 def numerify gsub(/#/) { rand(10).to_s } end |