Skip to content

Commit

Permalink
- small docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay Platonov committed Oct 15, 2010
1 parent e35bdb6 commit e5811e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Joose/Manual/Roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Defining a role for flying will allow us to re-use "flying logic" in any other c
REQUIRED METHODS. USING METHOD MODIFIERS
========================================
As mentioned previously, a role can require that consuming classes provide one or more methods. Using our 'Winged' example, make it require that consuming classes implement their own 'turnLeft' and 'turnRight' methods:
As mentioned previously, a role can require that consuming classes provide one or more methods (attribute accessors also count as methods for the purpose). Using our 'Winged' example, make it require that consuming classes implement their own 'turnLeft' and 'turnRight' methods:
Role('Winged', {
requires : [ 'turnLeft', 'turnRight' ],
Expand Down

0 comments on commit e5811e7

Please sign in to comment.