Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/monkey_sort/string.rb
Instance Method Summary collapse
Instance Method Details
#monkey_sort ⇒ Object
2 3 4 |
# File 'lib/monkey_sort/string.rb', line 2 def monkey_sort self.split('').monkey_sort.join end |