Class: Camify
- Inherits:
-
Object
- Object
- Camify
- Defined in:
- lib/camify.rb,
lib/camify/version.rb
Constant Summary collapse
- VERSION =
"1.0.3"
Instance Method Summary collapse
Instance Method Details
#process(str) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/camify.rb', line 7 def process(str) new_string = '' split_array = str.split('') split_array.map do |letter| new_string += change_character(letter) end new_string end |