Getting Started

31 views
Skip to first unread message

Tanner Peterson

unread,
Jun 23, 2016, 5:06:57 PM6/23/16
to Ruboto (JRuby on Android)
I just made a script that replaces "s" with "th" to convert a sentence into Daffy Duck language. Now I'm trying to make it into a .apk file. Can anyone help me with this? This is the script I would like to use for it:

puts"Thay what you want to thay!"
user_input=gets.chomp.downcase!
puts "Pleath wait. I'm converting your thentance."
if user_input.include? "s"
    user_input.capitalize!.gsub!(/s/,"th")
    puts "#{user_input}"
else
    print "That thentance dothen't work!"
end

Thanks in advance to anyone who can help me with this! Sorry I'm such a noob :/
Reply all
Reply to author
Forward
0 new messages