maybe its too wide.. let me simplify.
i have a ruby script that reads NFC tags:

require 'nfc'

ctx = NFC::Context.new
dev = ctx.open nil

loop do

p dev.pool.to_s

end

par example the output in the terminal is 'c2 f3 44 12'.

i also have a webform with a text field with label "id".

how do i pass the output to id.text_field? or... is it possible?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b1150a4b759e190bfdcf2f91193a6c75%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to