Sha256: a11c9d6ceb4fc8f065c3520639c9ba32c7472293b20ff8a194c527a97a588688

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

require 'rubygems'
require 'simple-annotations'

class A
  using AnnotationRefinement

  annotate!

  §test 1234
  def m1

  end

  §foo 12
  §bar
  def m2; end

  §foobar color: 'cyan'
  def m3; end

  def m4; end

  §after -> { puts 'm5 after' }
  def m5; end

  §test 10, {}, [], 'string'
  def m6; end
end


pp A.annotations

pp A.annotations[:m3]


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple-annotations-1.0.0 samples/test_class_method.rb