>> However, since we deal with a base class, methods are often empty >> (put there just to show the API).
> What's the point of that? This isn't Java. Documentation for developers of derived classes. > Exactly. In all of my projects, I only have an inheritance tree of > at most 3 levels deep. It's not AR. I have 2 levels: Site1Scraper < BaseScraper. There will be many SiteXScrapers implemented by several people. ++++ >From your answers I conclude it's not possible (or at least not recommended) to document abstract interface with RSpec. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
