Sha256: 2bf662753a0c9d792fc812323d887edbae81ed36ec6b1d464abc2a7bc13201ad
Contents?: true
Size: 415 Bytes
Versions: 2
Compression:
Stored size: 415 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aspect4r-0.9.0 | lib/aspect4r/model/aspect_data.rb |
aspect4r-0.8.2 | lib/aspect4r/model/aspect_data.rb |