1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Admin::Search::Key is a Data class, whose members the inline parser
# cannot read (see sig/pro_tacts/contact.rbs); the methods reopened
# onto it carry their own inline types.
module ProTacts
module Admin
module Search
class Key
attr_reader texts: Array[String]
attr_reader phones: Array[String]
attr_reader names: Array[String]
def self.new: (texts: Array[String], phones: Array[String], names: Array[String]) -> instance
def with: (?texts: Array[String], ?phones: Array[String], ?names: Array[String]) -> instance
end
end
end
end