Sha256: 6a2344f217beffffebaf392a34de4529d067c418f47bde535d1492ebbda7f1d1

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

covers 'facets/unboundmethod/name'

tests UnboundMethod do

  x = Class.new do
    def foo; "bar"; end
  end

  unit :name do
    meth = x.instance_method(:foo)
    meth.name.to_sym.assert == :foo
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/unboundmethod/test_name.rb
facets-2.9.0 test/core/unboundmethod/test_name.rb
facets-2.9.0.pre.2 test/core/unboundmethod/test_name.rb
facets-2.9.0.pre.1 test/core/unboundmethod/test_name.rb