Facets used to have #to_data to convert an object's instance state to a hash. Looks like that became #object_state. But #object_state isn't a complete state of built-in objects b/c it doesn't include any extra instance variables, which can be added b/c of Ruby's dynamic abilities.
So we need to nail down how all this should work.
(Note: Check Psych fork to see how that handled this for YAML.)
Facets used to have
#to_datato convert an object's instance state to a hash. Looks like that became#object_state. But#object_stateisn't a complete state of built-in objects b/c it doesn't include any extra instance variables, which can be added b/c of Ruby's dynamic abilities.So we need to nail down how all this should work.
(Note: Check Psych fork to see how that handled this for YAML.)