File: setup_variant.rb

package info (click to toggle)
ruby-json 1.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,296 kB
  • sloc: java: 3,380; ansic: 3,297; ruby: 2,632; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 109 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
case ENV['JSON']
when 'pure'
  require 'json/pure'
when 'ext'
  require 'json/ext'
else
  require 'json'
end