You can use the interactive editor gem see here if I understand you correctly: http://vimcasts.org/episodes/running-vim-within-irb/ ~ On Wed, Feb 9, 2011 at 8:56 PM, Tridib Bandopadhyay <tridib04 / gmail.com> wrote: > Hello All > > I want to code a method within a ruby source code. Is there any syntax > to call that method(Which I coded) while writing a program in ruby. If > so can anyone share it? > > Regards > > Tridib > > -- > Posted via http://www.ruby-forum.com/. > >