summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/plaintext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/scanners/plaintext.rb')
-rw-r--r--lib/coderay/scanners/plaintext.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/coderay/scanners/plaintext.rb b/lib/coderay/scanners/plaintext.rb
index 3824ee9..9007646 100644
--- a/lib/coderay/scanners/plaintext.rb
+++ b/lib/coderay/scanners/plaintext.rb
@@ -1,15 +1,15 @@
module CodeRay
module Scanners
- class Plaintext < Scanner
-
- register_for :plaintext, :plain
+ class Plaintext < Scanner
- def scan_tokens tokens, options
- tokens << [scan_until(/\z/), :plain]
- end
+ register_for :plaintext, :plain
- end
+ def scan_tokens tokens, options
+ tokens << [scan_until(/\z/), :plain]
+ end
+
+ end
end
end