Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Autoload with Zeitwerk#19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -142,7 +142,9 @@ def update conf | ||
| end | ||
| if_updated old_conf, conf, :postmortem do |_, new_p| | ||
| if defined?(SESSION) | ||
| # puts("const_defined? #{ DEBUGGER__.const_defined?(:SESSION)}, defined? #{defined?(SESSION)}") | ||
| # if defined?(SESSION) | ||
| if DEBUGGER__.const_defined?(:SESSION) | ||
Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't quite understand why, but Without changing this, the | ||
| SESSION.postmortem = new_p | ||
| end | ||
| end | ||
| @@ -152,7 +154,8 @@ def update conf | ||
| end | ||
| if_updated old_conf, conf, :no_sigint_hook do |old, new| | ||
| if defined?(SESSION) | ||
| # if defined?(SESSION) | ||
| if DEBUGGER__.const_defined?(:SESSION) | ||
| SESSION.set_no_sigint_hook old, new | ||
| end | ||
| end | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imma be real, I have no idea what the difference is between this, and
gemspec.add_development_dependency🫥There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it just depends on how the variable from
Gem::Specification.new do |spec|is named. In most cases it seems to be namedspec?