Sha256: 06dc8f5607ec076d9f72eee143cdfb85f9c7ea3842402a9a0d29c32cfce0e0f3
Contents?: true
Size: 531 Bytes
Versions: 918
Compression:
Stored size: 531 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') require 'rbbt/util/chain_methods' require 'test/unit' module TestChainedModule extend ChainMethods def test_chain_get_brackets(value) self.test_chain_clean_get_brackets(value).reverse end self.chain_prefix = :test_chain end class TestChaimMethods < Test::Unit::TestCase def test_chained_reverse_get a = ["test", "TEST"] a.extend TestChainedModule assert_equal "test".reverse, a[0] assert_equal "TEST".reverse, a[1] end end
Version data entries
918 entries across 918 versions & 1 rubygems