diff options
Diffstat (limited to 'ext/json/lib/json/ext.rb')
-rw-r--r-- | ext/json/lib/json/ext.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/json/lib/json/ext.rb b/ext/json/lib/json/ext.rb deleted file mode 100644 index c5f813181d..0000000000 --- a/ext/json/lib/json/ext.rb +++ /dev/null @@ -1,21 +0,0 @@ -if ENV['SIMPLECOV_COVERAGE'].to_i == 1 - require 'simplecov' - SimpleCov.start do - add_filter "/tests/" - end -end -require 'json/common' - -module JSON - # This module holds all the modules/classes that implement JSON's - # functionality as C extensions. - module Ext - require 'json/ext/parser' - require 'json/ext/generator' - $DEBUG and warn "Using Ext extension for JSON." - JSON.parser = Parser - JSON.generator = Generator - end - - JSON_LOADED = true unless defined?(::JSON::JSON_LOADED) -end |