summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2019-02-23 15:25:53 +0100
committerGitHub <noreply@github.com>2019-02-23 15:25:53 +0100
commitbaf2b0369b8515d759aca1338f521d8789838ce5 (patch)
treed2f128c9d9c6d7f35728c71c9b0ce3d80df5c405
parent7818585e14039e56fb279399ea0a97ee2013068d (diff)
parent913c1665970ffa4e1da79470fa732aa924569ec0 (diff)
downloadcoderay-baf2b0369b8515d759aca1338f521d8789838ce5.tar.gz
Merge pull request #227 from junaruga/hotfix/not-reached-statement
Remove the statement that is not always reached.
-rw-r--r--lib/coderay/encoders/html/output.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb
index de6f6ea..ee87fea 100644
--- a/lib/coderay/encoders/html/output.rb
+++ b/lib/coderay/encoders/html/output.rb
@@ -76,8 +76,6 @@ module Encoders
apply_title! title
end
self
- when nil
- return self
else
raise "Unknown value %p for :wrap" % element
end