summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/null.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/null.rb')
-rw-r--r--lib/coderay/encoders/null.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/coderay/encoders/null.rb b/lib/coderay/encoders/null.rb
new file mode 100644
index 0000000..67c4987
--- /dev/null
+++ b/lib/coderay/encoders/null.rb
@@ -0,0 +1,20 @@
+module CodeRay
+ module Encoders
+
+ class Null < Encoder
+
+ include Streamable
+ register_for :null
+
+ protected
+
+ def token(*)
+ # do nothing
+ end
+
+ end
+
+ end
+end
+
+