Sha256: 2607612af9535809ba179e0f867f92faa1cc693876cf3267155d08973a4d9b11

Contents?: true

Size: 237 Bytes

Versions: 16

Compression:

Stored size: 237 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/binding/test_self.rb
facets-2.8.3 test/core/binding/test_self.rb
facets-2.8.2 test/core/binding/test_self.rb
facets-2.8.1 test/core/binding/test_self.rb
facets-2.8.0 test/core/binding/test_self.rb
facets-2.7.0 test/core/binding/test_self.rb
facets-2.6.0 test/core/binding/test_self.rb
facets-2.4.0 test/binding/test_self.rb
facets-2.4.1 test/binding/test_self.rb
facets-2.4.2 test/core/binding/test_self.rb
facets-2.4.3 test/core/binding/test_self.rb
facets-2.4.4 test/core/binding/test_self.rb
facets-2.5.1 test/core/binding/test_self.rb
facets-2.5.0 test/core/binding/test_self.rb
facets-2.4.5 test/core/binding/test_self.rb
facets-2.5.2 test/core/binding/test_self.rb