Sha256: 0245a923dd48f8a7f1d8f605f578b3d302c4a3f763c0e6224e3929a6e714ec2d
Contents?: true
Size: 295 Bytes
Versions: 4
Compression:
Stored size: 295 Bytes
Contents
module Dicer module Behavior def self.included(submodule) submodule.extend(ClassMethods) end module ClassMethods def method_added(name) behavior_methods << name end def behavior_methods @behavior_methods ||= [] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dicer-0.3.0 | lib/dicer/behavior.rb |
dicer-0.2.0 | lib/dicer/behavior.rb |
dicer-0.1.0 | lib/dicer/behavior.rb |
dicer-0.0.1 | lib/dicer/behavior.rb |