How can I do this:
(1)I have a variable: @a = "method_one"
(2)Then, I want to use that variable to call a method:
class A
def method_one
#code
end
end
But since the variable contents is between quotes, it doesn't work.
--------------------------------------------------------------------------
ALSO: how can you make a second text line in a window. Like if a want to make a text that reads:
T
H
I
S
Is
T
E
X
T
--------------------------------------------------------------------------
Thanks in advance
(1)I have a variable: @a = "method_one"
(2)Then, I want to use that variable to call a method:
class A
def method_one
#code
end
end
But since the variable contents is between quotes, it doesn't work.
--------------------------------------------------------------------------
ALSO: how can you make a second text line in a window. Like if a want to make a text that reads:
T
H
I
S
Is
T
E
X
T
--------------------------------------------------------------------------
Thanks in advance