Method: OSGi::GroupMatcher#group
- Defined in:
- lib/osgi/registry.rb
#group(bundle) ⇒ Object
32 33 34 35 36 37 38 39 40 |
# File 'lib/osgi/registry.rb', line 32 def group(bundle) return group(bundle.id) if bundle.is_a?(Bundle) group_matchers.reverse.each do |group| result = group.call(bundle) return result unless result.nil? end OSGI_GROUP_ID end |