fedora-migrator /vendor/gems/facets-2.4.5/test/core/kernel/test_instance_class.rb

Language Ruby Lines 13
MD5 Hash 72d6be1d246f7d8ca05d201a494d5c8b Estimated Cost $170 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require 'facets/kernel/instance_class.rb'
require 'test/unit'

class TestKernelInstanceClass < Test::Unit::TestCase

  def test_instance_class
    o = Object.new
    assert_equal( (class << o; self; end), o.instance_class )
  end

end
Back to Top