Created
April 22, 2020 08:46
-
-
Save kamipo/0cc96ad51e68d2f92edfcfc88742e7a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts RUBY_VERSION | |
module Rails | |
end | |
def Rails.root; :defined_root end | |
p defined?(Rails.root) | |
Rails.instance_eval { undef :root } | |
p defined?(Rails.root) |
Author
kamipo
commented
Apr 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment