summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/null.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-04-16 03:20:37 +0000
committermurphy <murphy@rubychan.de>2006-04-16 03:20:37 +0000
commit0d4ddc9f66eb3b4dc3f6e7cb191b605b348e8189 (patch)
tree6ade5b6d36d559b919a39f55002cde3c3779bc67 /lib/coderay/encoders/null.rb
parentff9cbcf8c58e81bcee2e961e8b2033e6e336c6e9 (diff)
downloadcoderay-0d4ddc9f66eb3b4dc3f6e7cb191b605b348e8189.tar.gz
Re-indented everything. Sorry to break the blame chain.
Diffstat (limited to 'lib/coderay/encoders/null.rb')
-rw-r--r--lib/coderay/encoders/null.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/coderay/encoders/null.rb b/lib/coderay/encoders/null.rb
index e995cb0..0e3d073 100644
--- a/lib/coderay/encoders/null.rb
+++ b/lib/coderay/encoders/null.rb
@@ -1,26 +1,26 @@
module CodeRay
- module Encoders
+module Encoders
- # = Null Encoder
- #
- # Does nothing and returns an empty string.
- class Null < Encoder
+ # = Null Encoder
+ #
+ # Does nothing and returns an empty string.
+ class Null < Encoder
- include Streamable
- register_for :null
+ include Streamable
+ register_for :null
- # Defined for faster processing
- def to_proc
- proc {}
- end
-
- protected
+ # Defined for faster processing
+ def to_proc
+ proc {}
+ end
- def token(*)
- # do nothing
- end
+ protected
+ def token(*)
+ # do nothing
end
end
+
+end
end