summaryrefslogtreecommitdiff
path: root/ext/json/lib/json/ext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/lib/json/ext.rb')
-rw-r--r--ext/json/lib/json/ext.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/lib/json/ext.rb b/ext/json/lib/json/ext.rb
index 719e56025c3..a5e3148c571 100644
--- a/ext/json/lib/json/ext.rb
+++ b/ext/json/lib/json/ext.rb
@@ -6,10 +6,10 @@ module JSON
module Ext
require 'json/ext/parser'
require 'json/ext/generator'
- $DEBUG and warn "Using c extension for JSON."
+ $DEBUG and warn "Using Ext extension for JSON."
JSON.parser = Parser
JSON.generator = Generator
end
- JSON_LOADED = true
+ JSON_LOADED = true unless const_defined?(:JSON_LOADED)
end