We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
test.rb:
def undef puts "undef", $undefined end send(:undef)
Run: ruby -w test.rb
ruby -w test.rb
Expected output:
warning: global variable `$undefined' not initialized
The text was updated successfully, but these errors were encountered:
Does it cause any compatibility issue in practice? This might not be worth the implementation effort otherwise.
Sorry, something went wrong.
Actually we already track if they are defined/have been assigned, so it seems easier than I thought.
It seems used in RSpec tests
Fixed in 9b53501, thank you for the report.
andrykonchin
No branches or pull requests
test.rb:
Run:
ruby -w test.rb
Expected output:
The text was updated successfully, but these errors were encountered: