Files
2012-02-21 01:15:00 -05:00

1 line
1.5 KiB
JSON

[{"user_id": 4221, "stars": [], "topic_id": 34170, "date_created": 1304781660.946367, "message": "For instance, I would like to be able to turn some extra debug logging on when in IRB, since that would be a case where the user likely wants to know that extra information", "group_id": 109, "id": 951201}, {"user_id": 4221, "stars": [], "topic_id": 34170, "date_created": 1304781522.523983, "message": "Is it possible to write a script that--when required within an irb session--can do something different, like prompt the user for information or whatnot?", "group_id": 109, "id": 951188}, {"user_id": 4221, "stars": [], "topic_id": 34170, "date_created": 1304781706.5036521, "message": "Or if I have a type of activeRecord gem or model, that if I start an IRB session, it could prompt the user to log in to the db explicitly by prompting for a username/password", "group_id": 109, "id": 951205}, {"user_id": 4221, "stars": [], "topic_id": 34170, "date_created": 1304781736.8201129, "message": "that would simplify how you would test out a gem for usefulness if you didn't want to have them set up some config .yml or something ahead of time.", "group_id": 109, "id": 951206}, {"user_id": 1648, "stars": [], "topic_id": 34170, "date_created": 1304781971.4224279, "message": "you could set a constant in your ~/.irbrc and then check for that constant", "group_id": 109, "id": 951227}, {"user_id": 1516, "stars": [], "topic_id": 34170, "date_created": 1304782493.9625211, "message": "or you can check for `defined?(IRB) && IRB.CurrentContext`", "group_id": 109, "id": 951249}]