Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 477 Bytes

style-guide.md

File metadata and controls

18 lines (12 loc) · 477 Bytes

Style guide

Instance variables and getters / setters

We use instance vars only:

For everything else we use proper getters / setters.

If possible those should be private. We use the private_attr for this, e.g.:

private_attr_reader :configuration
private_attr_writer :failure_message
private_attr_accessor :examiner