Sha256: 9e9ebbdacdd91d755f169a50b999c379e69c5313939554d8374178b7f01321c8
Contents?: true
Size: 505 Bytes
Versions: 2
Compression:
Stored size: 505 Bytes
Contents
require 'set' module Aspect4r module Model class AspectData < Hash def initialize klass_or_module @klass_or_module = klass_or_module end def group_index @group_index ||= 0 end def group "#{@klass_or_module.hash}:#{group_index}" end def change_group @group_index = group_index + 1 end def methods_with_advices @methods_with_advices ||= Set.new end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aspect4r-0.8.1 | lib/aspect4r/model/aspect_data.rb |
aspect4r-0.8.0 | lib/aspect4r/model/aspect_data.rb |