Closed jtprince closed 15 years ago
Hey, sorry for the delay. I use instance_variable_defined to allow an including class to use predefined variables. This can be useful if a class includes several configurable modules... I'm not sure I can take it out and I don't know of a good workaround.
One of the reasons I check if the instance variable is defined is both because that method allows nils and false (as '@var ||=' would not), and because it prevents warnings that arise when you use an uninitialized variable.
I'm open to suggestions but honestly using an older version of ruby may be sketchy with Configurable period. It's just never been developed there. Anyhow, I'm closing this issue for now, but if you discover something new then feel free to re-open it.
Tap depends on configurable and configurable calls instance_variable_defined? However, this method doesn't exist in ruby 1.8.5. Wondering if there is a workaround or fix (I'd upgrade ruby but these machines are out of my control).
Thanks :)