On May 3, 4:32 pm, John Firebaugh <[email protected]> wrote:
> Here's a documentation shortcoming I just came across: I was trying to find
> the method that returns all tables in the database. I correctly guessed it
> was Database#tables, but couldn't find it in the Database rdoc. Since the
> method is only defined by individual adapter-specific subclasses, it doesn't
> show up there.
>
> I suggest adding documentation in the base class for common adapter-defined
> methods. Rdoc's :method: directive is good for 
> this:http://ruby-doc.org/ruby-1.9/classes/RDoc/Parser/Ruby.html

I agree that methods that are defined on multiple common adapters
should be documented in Sequel::Database.  For consistency, they
should have actual default definitions that raise NotImplemented.
This would include methods such as tables and indexes.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to