While calling the method say, you need to pass a String as argument, Ruby isn't a String, "Ruby" is.
Other than that, your program is fine.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password