Help with Standard Interfaces

S

Sean O'Dell

For the celsoft.com/Interface library, I want to provide pre-defined
interfaces for as many standard Ruby classes and objects as possible, and
since I'm hardly the Ruby expert I could use a lot of help.

Which classes and global objects are considered standard? Hash, Array,
String, ENV, etc.

Should mix-in modules also have interfaces, so standard classes and objects
can also be tagged as having those interfaces?

For standard classes/objects, which method patterns should be checked for each
interface? Since they can be tagged with mix-in module interfaces, I think
class interfaces should only have a bare minimum pattern of methods (I.E. for
the hash interface, just [] and []=).

Any help greatly appreciated.

Sean O'Dell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,825
Members
47,371
Latest member
Brkaa

Latest Threads

Top