From f9da00a9da5fc15d08cd455884180d49417c5fe4 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 18 May 2010 06:16:54 +0000 Subject: Tokens# raises a NoMethodError when encoder was not found. --- lib/coderay/tokens.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/coderay/tokens.rb') 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 = {} -- cgit v1.2.1