Skip to content
Browse files

Fix styling the Rack specification.

  • Loading branch information...
1 parent bd523d1 commit 5611218134a3fddd1567f8d3e1f6cdcab813007f @FooBarWidget FooBarWidget committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/rack/lint.rb
View
10 lib/rack/lint.rb
@@ -124,25 +124,25 @@ def check_env(env)
## standardized middleware APIs. None of these are required to
## be implemented by the server.
- ## <tt>rack.session</tt>:: A hash like interface for storing request session data
+ ## <tt>rack.session</tt>:: A hash like interface for storing request session data.
## The store must implement:
if session = env['rack.session']
- ## store(key, value) (aliased as []=)
+ ## store(key, value) (aliased as []=);
assert("session #{session.inspect} must respond to store and []=") {
session.respond_to?(:store) && session.respond_to?(:[]=)
}
- ## fetch(key, default = nil) (aliased as [])
+ ## fetch(key, default = nil) (aliased as []);
assert("session #{session.inspect} must respond to fetch and []") {
session.respond_to?(:fetch) && session.respond_to?(:[])
}
- ## delete(key)
+ ## delete(key);
assert("session #{session.inspect} must respond to delete") {
session.respond_to?(:delete)
}
- ## clear
+ ## clear;
assert("session #{session.inspect} must respond to clear") {
session.respond_to?(:clear)
}

0 comments on commit 5611218

Please sign in to comment.
Something went wrong with that request. Please try again.