B
Bryan Richardson
[Note: parts of this message were removed to make it a legal post.]
Hello all,
How can I use a string variable as part of a method name I'm calling? For
example say I want to call the method say_hello using the following:
def say_hello
puts "Hello!"
end
str = "hello"
say_????
Thanks in advance!! -- BTR
Hello all,
How can I use a string variable as part of a method name I'm calling? For
example say I want to call the method say_hello using the following:
def say_hello
puts "Hello!"
end
str = "hello"
say_????
Thanks in advance!! -- BTR