Sha256: f23597bdddb60ee4f3ae3658118481d58afd97f6d00fb2a5fcee16f53c811870

Contents?: true

Size: 291 Bytes

Versions: 6

Compression:

Stored size: 291 Bytes

Contents

require 'rubygems'

## undefined method `to_json' for Array :(
# if Gem.available? "yajl-ruby"
#   gem "yajl-ruby", ">= 0.7.6"
#   require "yajl"
#   warn "yajl"
# else
  if Gem.available? "json"
    gem "json", ">= 1.1.3"
  else
    gem "json_pure", ">= 1.1.3"
  end
  require "json"
# end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
wpdoc-0.2.22 lib/sdoc/json_backend.rb
morph-sdoc-0.2.21 lib/sdoc/json_backend.rb
wpdoc-0.2.21 lib/sdoc/json_backend.rb
wpdoc-0.2.20 lib/sdoc/json_backend.rb
sdoc-0.2.20 lib/sdoc/json_backend.rb
sdoc-0.2.19 lib/sdoc/json_backend.rb