Sha256: 433ec5d32c5f5dbda7942912b604f96fb7d5c585f61aeacc4389db3fed32327e

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

# Ubuntu does not accept arguments to ruby when called using env. To get warnings to show up the -w options is
# required. That can be set in the RUBYOPT environment variable.
# export RUBYOPT=-w

$VERBOSE = true

$: << File.join(File.dirname(__FILE__), "../lib")
$: << File.join(File.dirname(__FILE__), "../ext")

require 'oj'

class Foo < String
  def initialize(str, safe)
    super(str)
    @safe = safe
  end
end

f = Foo.new("z")

puts f

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oj-2.9.4 test/foo.rb
oj-2.9.3 test/foo.rb
oj-2.9.2 test/foo.rb
oj-2.9.1 test/foo.rb