Sha256: 4638aee513f047b4c5c22e0d8c36f2f653bbb30f1965390f50381e886df67e94
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
#!/usr/bin/env ruby $: << '.' $: << File.join(File.dirname(__FILE__), "../lib") $: << File.join(File.dirname(__FILE__), "../ext") require 'oj' puts Oj.dump({ "float_test" => 0.25, "nan_test" => Float::NAN, "inf_test" => Float::INFINITY, "minus_inf_test" => -Float::INFINITY, "min_test" => Float::MIN, "max_test" => Float::MAX, }, mode: :object) # => {"float_test":0.25,"nan_test":3.3e14159265358979323846
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oj-3.13.16 | test/bar.rb |
oj-3.13.15 | test/bar.rb |