Sha256: c15d189471d90acf6003f85d9cb8e7ba0edbb14732765863fde9429abff813b6

Contents?: true

Size: 361 Bytes

Versions: 18

Compression:

Stored size: 361 Bytes

Contents

require 'mega/annotation'

module M
       ann :this, :koko => []
       ann.this.koko! << 1
end

class C1
       include M
       ann.this.koko! << 2
       ann.this.koko! << 3
end


class C2
       include M
       ann.this.koko! << 4
end

p M.ann.this.koko # => expected [1]
p C1.ann.this.koko # => expected [1, 2, 3]
p C2.ann.this.koko # => expectes [1, 4]

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
facets-0.9.0 demo/ann-demo.rb
facets-1.0.3 packages/more/demo/demo_annotation.rb
facets-1.4.2 demo/annotation/demo_annotation.rb
facets-1.4.0 demo/annotation/demo_annotation.rb
facets-1.4.1 demo/annotation/demo_annotation.rb
facets-1.4.3 demo/annotation/demo_annotation.rb
facets-1.4.4 demo/annotation/demo_annotation.rb
facets-1.4.5 demo/annotation/demo_annotation.rb
facets-1.7.30 demo/annotation/demo_annotation.rb
facets-1.7.0 demo/annotation/demo_annotation.rb
facets-1.7.38 demo/annotation/demo_annotation.rb
facets-1.7.46 demo/annotation/demo_annotation.rb
facets-1.8.0 demo/annotation/demo_annotation.rb
facets-1.8.20 demo/annotation/demo_annotation.rb
facets-1.8.49 demo/annotation/demo_annotation.rb
facets-1.8.51 demo/annotation/demo_annotation.rb
facets-1.8.54 demo/annotation/demo_annotation.rb
facets-1.8.8 demo/annotation/demo_annotation.rb