#557 ✓resolved
Dan Sully

More Ruby 1.8.5 compat

Reported by Dan Sully | September 9th, 2008 @ 01:30 PM

class Object # Available in 1.8.6 and later. unless respond_to?(:instance_variable_defined?)

def instance_variable_defined?(variable)
  instance_variables.include?(variable.to_s)
end

end end

(from http://github.com/rails/rails/tr...

Please make sure to do testing on 1.8.5!!!!!!

This is also in extlib

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages