Class: Paludis::Choices
Public Instance Methods
each {|choice| block } → Nil
Our Choice children.
find_by_name_with_prefix(prefix) → ChoiceValue or Nil
Find a ChoiceValue that has a particular prefix and name.
Returns nil for no match.
This is a convenient way of getting a particular use flag‘s details. Calling this method with, say, "nls" or "ruby" will get the value for that flag without having to hunt around in all the subkeys manually. Prefixes work too, e.g. "linguas_en" for 0-based EAPIs or "linguas:en" for exheres EAPIs.
has_matching_contains_every_value_prefix?(prefix) → true or false
Do we have a Choice subkey with contains_every_value true and a prefix matching this name?
0-based EAPIs don‘t require things like userland_GNU in IUSE. So if you‘re looking for a flag and don‘t find it, check this method before issuing a QA notice.