summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/null.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-07-10 00:32:57 +0000
committermurphy <murphy@rubychan.de>2006-07-10 00:32:57 +0000
commit9f4c7ab7553f9be7c9d14da0ba7462ad746c2f5d (patch)
tree686ee95cc9010314278846936476d1cf0bf04353 /lib/coderay/encoders/null.rb
parent42436798565c36a7d9582fcf587946d273083ab1 (diff)
downloadcoderay-9f4c7ab7553f9be7c9d14da0ba7462ad746c2f5d.tar.gz
Big re-indenting - no more tabs!
Diffstat (limited to 'lib/coderay/encoders/null.rb')
-rw-r--r--lib/coderay/encoders/null.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/coderay/encoders/null.rb b/lib/coderay/encoders/null.rb
index 0e3d073..96d81fe 100644
--- a/lib/coderay/encoders/null.rb
+++ b/lib/coderay/encoders/null.rb
@@ -1,26 +1,26 @@
module CodeRay
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
+ # Defined for faster processing
+ def to_proc
+ proc {}
+ end
- protected
+ protected
- def token(*)
- # do nothing
- end
+ def token(*)
+ # do nothing
+ end
- end
+ end
end
end