Sha256: cecce0c19b2d63de5396ad5f9884e764a91b8caf6b8aede5cef9851b25dc4999

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

covers 'facets/kernel/meta_alias'

test_case Kernel do

  method :meta_alias do

    test do
      c = Class.new do
        def self.y?; "y?" ; end
      end
      c.meta_alias "ynot?", "y?"
      c.ynot?.assert == "y?"
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/kernel/test_meta_alias.rb
facets-3.1.0 test/core/kernel/test_meta_alias.rb
facets-3.0.0 test/core/kernel/test_meta_alias.rb
facets-2.9.3 test/core/kernel/test_meta_alias.rb
facets-2.9.2 test/core/kernel/test_meta_alias.rb