rpatricia.git  about / heads / tags
see http://www.goto.info.waseda.ac.jp/~tatsuya/rpatricia/
blob 013bfdde3dc0c3dc6c12b83e08a045e4d9e1d5fb 194 bytes (raw)
$ git show for-tatsuya:test/test_subclass.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
require 'test/unit'
require 'rpatricia'

class SubPatricia < Patricia
end

class TestSubclass < Test::Unit::TestCase
  def test_new
    assert_equal SubPatricia, SubPatricia.new.class
  end
end

git clone https://yhbt.net/rpatricia.git