diff options
Diffstat (limited to 'lib/coderay/scanners/json3.rb')
-rw-r--r-- | lib/coderay/scanners/json3.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/json3.rb b/lib/coderay/scanners/json3.rb index cf0c1f0..e05feb4 100644 --- a/lib/coderay/scanners/json3.rb +++ b/lib/coderay/scanners/json3.rb @@ -1,7 +1,7 @@ module CodeRay module Scanners - class RuleBasedScanner3 < Scanner + class JSON3RuleBasedScanner < Scanner class << self attr_accessor :states @@ -56,7 +56,7 @@ module Scanners end # Scanner for JSON (JavaScript Object Notation). - class JSON3 < RuleBasedScanner3 + class JSON3 < JSON3RuleBasedScanner register_for :json3 file_extension 'json' |