Sha256: 46c62497b6bda0084553555b5739916beeff7eb2e7b2ce793bf0110f62a0af01
Contents?: true
Size: 308 Bytes
Versions: 5
Compression:
Stored size: 308 Bytes
Contents
module Lotu module Behavior def behave_like something include something class << self attr_accessor :behavior_options end @behavior_options ||= Hash.new end def inherited subclass subclass.behavior_options = behavior_options.deep_copy end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
lotu-0.1.22 | lib/lotu/behavior.rb |
lotu-0.1.21 | lib/lotu/behavior.rb |
lotu-0.1.20 | lib/lotu/behavior.rb |
lotu-0.1.19 | lib/lotu/behavior.rb |
lotu-0.1.18 | lib/lotu/behavior.rb |