Manual:Coding conventions/Ruby

This is a draft for coding conventions for Ruby in MediaWiki development.

The context of this page is automatic browser testing with Cucumber / Selenium / PageObject. Other Ruby code may have different conventions.

GWT scenarios

 * The scenarios are supposed to be as human-readable as possible. Do not turn them into a programming language - they are supposed to be a communication tool between users, product managers, testers and developers.

Abstraction

 * Direct calls to Selenium function are not supposed to be used. Use PageObject.