R
ruby talk
------=_Part_110430_22092251.1136953085135
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
Is there a way to make ruby interpret a string as a set of command?
for example
action=3D"p this is test one"
action.command
action=3D"for i in 1..4
p this is test two
end"
action.command
and have the out put be
this is test one
this is test two
this is test two
this is test two
this is test two
I am working with TK gui and want to create a general popup menu fuction,
but i need to set the commands for differnt menus.
------=_Part_110430_22092251.1136953085135--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
Is there a way to make ruby interpret a string as a set of command?
for example
action=3D"p this is test one"
action.command
action=3D"for i in 1..4
p this is test two
end"
action.command
and have the out put be
this is test one
this is test two
this is test two
this is test two
this is test two
I am working with TK gui and want to create a general popup menu fuction,
but i need to set the commands for differnt menus.
------=_Part_110430_22092251.1136953085135--