Skip to content
Unknown's avatar

Code from the sideline

  • About
  • GitHub
  • Mastodon

Tag: pry

Ruby snippet: figure out what has been loaded already

While trying to figure out why some piece of code was running inside the tests
but not in production I needed to figure out which files where actually loaded
at which point in the code. Using a combination of pry
and the LOADED_FEATURES global ie.

https://gist.github.com/sideshowcoder/5228176.js

Enjoy

sideshowcoder regular, Uncategorized Leave a comment 23/03/2013 1 Minute

Unknown's avatar

Author: Philipp Fehre

Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • Code from the sideline
    • Already have a WordPress.com account? Log in now.
    • Code from the sideline
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy