Module: Rack::Lint::Assertion
- Included in:
- Rack::Lint, ErrorWrapper, HijackWrapper, InputWrapper
- Defined in:
- lib/rack/lint.rb
Instance Method Summary collapse
Instance Method Details
#assert(message) ⇒ Object
19 20 21 22 23 |
# File 'lib/rack/lint.rb', line 19 def assert() unless yield raise LintError, end end |