lib/ronin/class_methods.rb in ronin-1.0.0 vs lib/ronin/class_methods.rb in ronin-1.1.0.rc1

- old
+ new

@@ -34,10 +34,16 @@ # @raise [NameError] # The constant could not be found within {Ronin}. # # @since 1.0.0 # + # @api semipublic + # def const_missing(name) - Ronin.send(:const_missing,name) || super(name) + begin + Ronin.send(:const_missing,name) + rescue NameError + super(name) + end end end end