summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/null.rb
diff options
context:
space:
mode:
authorno author <noone@nowhere>2005-09-26 02:58:54 +0000
committerno author <noone@nowhere>2005-09-26 02:58:54 +0000
commit84b8431608174e74a4c0d2394eb330a6621bc74b (patch)
treeffc2bd7ce21708a9147247c80b0e7fc7728ea063 /lib/coderay/encoders/null.rb
downloadcoderay-84b8431608174e74a4c0d2394eb330a6621bc74b.tar.gz
New Repository, initial import
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
+
+