summaryrefslogtreecommitdiff
path: root/lib/coderay/rule_based_scanner.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:26:22 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:26:22 +0100
commitdd1d7791d818152506f48a6d429d882e4bda2087 (patch)
treee063d13eeeaa3ced6a504d7a6d9aa50aca5424c6 /lib/coderay/rule_based_scanner.rb
parent0d1c78656fbcdda8c5f729950d46d8ea855eeca7 (diff)
downloadcoderay-dd1d7791d818152506f48a6d429d882e4bda2087.tar.gz
move setup to superclass
Diffstat (limited to 'lib/coderay/rule_based_scanner.rb')
-rw-r--r--lib/coderay/rule_based_scanner.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/coderay/rule_based_scanner.rb b/lib/coderay/rule_based_scanner.rb
index 24e278d..35adad1 100644
--- a/lib/coderay/rule_based_scanner.rb
+++ b/lib/coderay/rule_based_scanner.rb
@@ -289,6 +289,11 @@ module CodeRay
end
end
end
+
+ def setup
+ @state = :initial
+ end
+
end
end
end \ No newline at end of file