Sha256: 9396ae6dad1729f0256c60d0ae76ba4add16f1df7cc61b8b63d4129446ab7f49
Contents?: true
Size: 172 Bytes
Versions: 1
Compression:
Stored size: 172 Bytes
Contents
module Traitor module Class def traits @traits ||= [] end def uses(trait) traits << trait end end end Class.send :include, Traitor::Class
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
traitor-0.0.1 | lib/traitor/core_ext/class.rb |