Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ A basic description of the two methods that a middleware must implement:
state sent in (defined by the caller, but usually a Hash). This call should also
call `app.call(env)` at some point to move on.

This architecture offers the biggest advantage of letting you enhance the env variable before passing it to the next middleware,
and giving you the abilities to change the returned datas, as follow:
This architecture offers the biggest advantage of letting you enhance the `env` variable before passing it to the next middleware, and giving you the ability to change the returned data, as follows:

```ruby
class Greeting
Expand Down Expand Up @@ -328,4 +327,4 @@ the output will be

```ruby
[Trace(), Echo("Hello, World!")]
```
```