Sha256: 8932713211bc53900b068bbd084ea38845f931d048b988556c189763881db221
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
covers 'facets/module/redirect_method' testcase Module do unit :redirect_method do c = Class.new do def a1 ; 1 ; end redirect_method :a2 => :a1 end c.new.a2.assert == 1 end unit :redirect do c = Class.new do def b1 ; 1 ; end redirect :b2 => :b1 end c.new.b2.assert == 1 end end
Version data entries
4 entries across 4 versions & 1 rubygems