Sha256: e0c3b89f3c87084f2c3bc60f5f1595c728bcd67bcade81155cd3f4a817bf2946
Contents?: true
Size: 170 Bytes
Versions: 7
Compression:
Stored size: 170 Bytes
Contents
require 'after_do' class A def a # ... end end class B < A end A.extend AfterDo A.after :a do puts 'a was called' end b = B.new b.a #prints out: a was called
Version data entries
7 entries across 7 versions & 1 rubygems