4 RUBY_1_8_MODE = (not (RUBY_VERSION =~ /1\.8\.\d*/).nil?)
9 if Aviator::Compatibility::RUBY_1_8_MODE
13 alias_method :old_const_defined?, :const_defined?
15 def const_defined?(sym, ignore=nil)
16 old_const_defined?(sym)
20 alias_method :old_const_get, :const_get
22 def const_get(sym, ignore=nil)
26 alias_method :old_instance_methods, :instance_methods
28 def instance_methods(include_super=true)
29 old_instance_methods(include_super).map(&:to_sym)