On Sunday 13 December 2009, Govinda Khanal wrote:
> |hi there, i am a learner of ruby and while i am writing a code i am
> |stopped with input method. i search and found that gets is the command
> |use to input from keyboard but i do not know  how? so can you explain
> |me on detail of gets and its member command.
> |
> |
> |
> |thank you very much for your help
> |

You can start with something like this:

puts "insert any text"
res = gets

You can find more information about gets using the ri program:

ri Kernel.gets

Stefano