You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a default_proc set for attributes, and I feel like either I'm missing something obvious or something wacky is going on. I've tried all of the following with no success:
obj=Foobar.newobj.features# => {}# The following should be 0obj.features["blah"]# => nil # The following should not be nilobj.features.default_proc# => nil
The text was updated successfully, but these errors were encountered:
I'm trying to get a
default_proc
set for attributes, and I feel like either I'm missing something obvious or something wacky is going on. I've tried all of the following with no success:In every case, I end up with something like:
The text was updated successfully, but these errors were encountered: