Top Level Namespace
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#match(filter, name) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/rbs/test/setup.rb', line 36 def match(filter, name) if filter.end_with?("*") name.start_with?(filter[0, filter.size - 1]) || name == filter[0, filter.size-3] else filter == name end end |