method

search

v1_9_2_180 - Show latest stable - Class: OptionParser::List
search(id, key)
public

Searches key in id list. The result is returned or yielded if a block is given. If it isn’t found, nil is returned.