Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismydesign committed Jun 11, 2017
1 parent 89d8a10 commit 659a9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ my_encapsulator = Proc.new do |callback:, params: nil|
end
```

Encapsulators will ideally not use any parameters. They do take the base function's parameter hash as second parameter and you could *technically* hide additinal parameters there but it's not a good practice. Instead:
Encapsulators will ideally not use any parameters. They do take the base function's parameter hash as second parameter and you could *technically* hide additional parameters there but it's not a good practice. Instead:
- try to keep encapsulators simple
- use their own classes to configure them

Expand Down

0 comments on commit 659a9cd

Please sign in to comment.