v0.1.9
-
[NEW] Additional mechanisms to detect reopening forbidden classes. If a forbidden reopening materializes, it will log the command and force exiting from IRB [#28].
Take this example:
def my_constant ActiveRecord end class my_constant::Base def fake_save!(*args) puts "ActiveRecord::Base#save! overridden!" end end
This code would skip existing static analysis. With the new system, code will run but will raise an error after new methods are added to the class. Because the code executes it exits immediately from IRB after flagging the command.