fedora-migrator /vendor/gems/facets-2.4.5/test/core/binding/test_self.rb

Language Ruby Lines 19
MD5 Hash 7e849acced1065182f4545221eaf7575 Estimated Cost $283 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
require 'facets/binding/self'
require 'test/unit'

class TC_Binding_Self < Test::Unit::TestCase

  def setup
    a = 1
    b = 2
    x = "hello"
    @bind = binding
  end

  def test_self
    assert_equal( self, @bind.self )
  end

end
Back to Top