Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove &block argument from assert
  • Loading branch information
DamirSvrtan committed Mar 1, 2015
1 parent 96f759c commit 84f98cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/lint.rb
Expand Up @@ -15,7 +15,7 @@ def initialize(app)

class LintError < RuntimeError; end
module Assertion
def assert(message, &block)
def assert(message)
unless yield
raise LintError, message
end
Expand Down

0 comments on commit 84f98cf

Please sign in to comment.