Sha256: c76c3365a8555ae82d8fd90aa6e8624d2ab1bb308fa4fe341f456b8befa6392f
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
# It is necessary to override this ActiveSupport method # due to the differences between #remove_method and #undef_method Module.class_eval do def remove_possible_method(method) if method_defined?(method) || private_method_defined?(method) remove_method(method) end rescue NameError end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gorillib-model-0.0.3 | lib/gorillib/core_ext/module.rb |
gorillib-model-0.0.1 | lib/gorillib/core_ext/module.rb |