Permalink
Browse files

fix Protocol documentation typo

  • Loading branch information...
iarie committed Jan 9, 2018
1 parent 6a0ba76 commit 2612d76b06d9fb166ff3339d65be30ed9012d8fa
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/functional/protocol.rb
@@ -50,8 +50,8 @@ def SpecifyProtocol(name, &block)
end
module_function :SpecifyProtocol
# Protocols provide a polymorphism and method-dispatch mechanism that exchews
# stong typing and embraces the dynamic duck typing of Ruby. Rather than
# Protocols provide a polymorphism and method-dispatch mechanism that eschews
# strong typing and embraces the dynamic duck typing of Ruby. Rather than
# interrogate a module, class, or object for its type and ancestry, protocols
# allow modules, classes, and methods to be interrogated based on their behavior.
# It is a logical extension of the `respond_to?` method, but vastly more powerful.

0 comments on commit 2612d76

Please sign in to comment.