B
basi
Hello,
This is likely to be another one of those embarrassing questions.
I have a table of tokens, one token one record, which I'd like to
process as strings, for example:
tgl_tokens.select.each do |t|
puts t.to_s
end
I expect, say:
Retraction
headline
But I get:
#<struct #<Class:0x4dee4a8> recno=579, tgltoken="Retraction">
#<struct #<Class:0x4dee4a8> recno=580, tgltoken="headline">
How do I get the expected results?
Thanks for the help.
basi
This is likely to be another one of those embarrassing questions.
I have a table of tokens, one token one record, which I'd like to
process as strings, for example:
tgl_tokens.select.each do |t|
puts t.to_s
end
I expect, say:
Retraction
headline
But I get:
#<struct #<Class:0x4dee4a8> recno=579, tgltoken="Retraction">
#<struct #<Class:0x4dee4a8> recno=580, tgltoken="headline">
How do I get the expected results?
Thanks for the help.
basi