Method: Ardm::SubjectSet#include?

Defined in:
lib/ardm/support/subject_set.rb

#include?(entry) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test if the given entry is included in this SubjectSet

Parameters:

  • entry (#name)

    the entry to test for

Returns:

  • (Boolean)

    true if the entry is included in this SubjectSet



157
158
159
# File 'lib/ardm/support/subject_set.rb', line 157

def include?(entry)
  entries.include?(entry)
end