On 27 January 2011 09:31, Priya D. <li...@ruby-forum.com> wrote:
> I'm creating a new object for a class using irb. At that time, if the
> object is created successfully, a new console should be open. The newly
> opened console should act as the created object.
>
> so that i can execute all the instance methods through the newly opened
> console, without prefixing object to the methods.

You can use the ruby method 'system' to run system commands to open a
command shell if that is what you mean.

Colin

>
> am i clear?
>
> --
> 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 post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to