Sha256: 4f598c68cd975dc321c6f6748f900176c8c236989120bbc1d784d32236394a23
Contents?: true
Size: 351 Bytes
Versions: 5
Compression:
Stored size: 351 Bytes
Contents
covers 'facets/module/alias_accessor' test_case Module do method :alias_accessor do test do c = Class.new do attr_accessor :x alias_accessor :y, :x end x = c.new x.x = 10 x.x.assert == 10 x.y.assert == 10 x.y = 20 x.x.assert == 20 x.y.assert == 20 end end end
Version data entries
5 entries across 5 versions & 2 rubygems