Sha256: d8ca6a4d05160aeeb7be5e656f98aa92409b69edf0fdc3564a9863dcdf3c79e3

Contents?: true

Size: 196 Bytes

Versions: 3

Compression:

Stored size: 196 Bytes

Contents

module CanaryLabs
  module Resolvers
    class Group
      def initialize group
        @group = group
      end

      def participating? id
        @group.include? id
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
canary_labs-0.4.0 lib/resolvers/group.rb
canary_labs-0.3.0 lib/resolvers/group.rb
canary_labs-0.2.0 lib/resolvers/group.rb