diff options
| author | murphy <murphy@rubychan.de> | 2010-05-18 06:16:54 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2010-05-18 06:16:54 +0000 |
| commit | f9da00a9da5fc15d08cd455884180d49417c5fe4 (patch) | |
| tree | f1aa7df4595e12e436020cc37028cbbe300a5d0d /lib/coderay/tokens.rb | |
| parent | f24a2b9eaf968dd31c614c626888aa8e6e6cfebc (diff) | |
| download | coderay-f9da00a9da5fc15d08cd455884180d49417c5fe4.tar.gz | |
Tokens#<encoder name> raises a NoMethodError when encoder was not found.
Diffstat (limited to 'lib/coderay/tokens.rb')
| -rw-r--r-- | lib/coderay/tokens.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/coderay/tokens.rb b/lib/coderay/tokens.rb index c85c2f1..50b6834 100644 --- a/lib/coderay/tokens.rb +++ b/lib/coderay/tokens.rb @@ -109,6 +109,8 @@ module CodeRay # is used to highlight the tokens. def method_missing meth, options = {} encode_with meth, options + rescue PluginHost::PluginNotFound + super end def encode_with encoder, options = {} |
