J
John Smith
Hi everyone,
I created a function pointer that points
to a method.
m.fptr = m.method( :sigm )
However.. later on I need to do an operation depending on the symbol it
is pointing at:
if m.fptr == :gam
....
elsif m.fptr == :lin
...
How do I obtain this symbol value from m.fptr?
Ted...
I created a function pointer that points
to a method.
m.fptr = m.method( :sigm )
However.. later on I need to do an operation depending on the symbol it
is pointing at:
if m.fptr == :gam
....
elsif m.fptr == :lin
...
How do I obtain this symbol value from m.fptr?
Ted...