Sha256: f3f92319ff6cfeb7610dbefc9db4598de6309b6ebfd300e509d3c8b6cf03de7d
Contents?: true
Size: 274 Bytes
Versions: 8
Compression:
Stored size: 274 Bytes
Contents
module ConstDefinedExtension def is_constant_defined?(const) if ::RUBY_VERSION =~ /1.9/ const_defined?(const, false) else const_defined?(const) end end end Object.send(:include, ConstDefinedExtension) Module.send(:include, ConstDefinedExtension)
Version data entries
8 entries across 8 versions & 1 rubygems