diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2017-11-03 00:37:54 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2017-11-03 00:37:54 +0100 |
commit | e101dbe2d2887a7d158672c86171d59a70027db6 (patch) | |
tree | 83af03ea7b4a6fc791a3a38c859123c90a43d1d4 /lib/coderay/scanners/json4.rb | |
parent | 775255ad8d6a0928337575103054d1bbff8cda04 (diff) | |
download | coderay-e101dbe2d2887a7d158672c86171d59a70027db6.tar.gz |
normalize class names
Diffstat (limited to 'lib/coderay/scanners/json4.rb')
-rw-r--r-- | lib/coderay/scanners/json4.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/json4.rb b/lib/coderay/scanners/json4.rb index 5cb3afb..38d71e3 100644 --- a/lib/coderay/scanners/json4.rb +++ b/lib/coderay/scanners/json4.rb @@ -1,7 +1,7 @@ module CodeRay module Scanners - class RuleBasedScanner4 < Scanner + class JSON4RuleBasedScanner < Scanner class << self attr_accessor :states @@ -56,7 +56,7 @@ module Scanners end # Scanner for JSON (JavaScript Object Notation). - class JSON4 < RuleBasedScanner4 + class JSON4 < JSON4RuleBasedScanner register_for :json4 file_extension 'json' |