Sha256: c5516ef71c58189cde6b37dd34e45020180f1763174bb3077a56034e74ebc9ff
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
## # MTrack extends the functionality of Modules and Classes and enables them to # define public methods within groups. These methods can then be queried back # even through a hierarchy of inclusion and/or inheritance. # # module M # track_methods { def method_1; end } # end # # class C # include M # track_methods { def method_2; end } # end # # class D < C # track_methods { def method_3; end } # end # # D.tracked_methods #=> #<Set: {:method_1, :method_2, :method_3}> module MTrack # Current version of MTrack. VERSION = "0.0.1" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mtrack-0.0.1 | lib/mtrack/version.rb |