def values(array)
      array.select{|elt| any?{|name| elt.kind_of?(name)}}.map{|elt| elt.value}
    end
def values(array)
      array.select{|elt| any?{|name| elt.kind_of?(name)}}.map{|elt| elt.value}
    end
@param names [Array<Symbol,Naming::Meta>]
   element names of the set
 Extract values which have the same name from the array.

 @param array [Array]
   target of value extraction

 @example
   Naming::NameSet.new(:A, :B).values([
     Naming.A(1),
     Naming.B(2),
     "abc",
     Naming.A(3),
     123,
     nil
   ]) #=> [1, 2, 3]