From: Rahul Kumar Date: 2010-11-01T15:19:17+09:00 Subject: create a shell within an app I have a client application - often i am needing to explore/inspect the classes that I get from the server. Loading the client each time with a logger.debug statement is cumbersome and takes time due to server connections and getting data. I'd like to be able to expose the insides of the client to a shell (could be inside the client) or could connect to the client. It's an ncurses app, I can always prompt the user on clicking some key. However, my query is: how does one expose the environment to this shell. On the prompt given, I should be able to query objects just as in irb. e.g >> x.class >> x.public_methods >> x.name Alternatively, is there already some existing gem which allows me to expose the internals to a port, so another irb-like client can connect and query the state ? thx, rkumar -- Posted via http://www.ruby-forum.com/.