There are a few Sequel classes that subclass core classes:

Sequel::SQL::Blob < String
Sequel::SQLTime < Time
Sequel::Model::Associations::AssociationReflection < Hash

Currently, these do not override inspect, so inspect makes them look like a 
core object.  There was recently an issue filed in GitHub 
(https://github.com/jeremyevans/sequel/issues/1293) for custom inspect 
handling for SQL::Blob, but before I make changes, I'd like to get some 
feedback here as to wait people would like in terms of inspect output.  

Here are my ideas, but I'm not tied to any of these:

SQL::Blob: #<Sequel::SQL::Blob:0x1234567890abcd bytes:1234567 start:hex 
encoded first 10 bytes end:hex encoded last 10 bytes>
SQLTime: #<Sequel::SQLTime 21:34:45>
Sequel::Model::Associations::AssociationReflection: 
#<Sequel::Model::Associations::ManyToOneAssociationReflection 
Model.many_to_one :association, {:key=>:foo_id}>

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to