--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Match a shortened pattern against a list of String candidates. The pattern is expanded into a regular expression by inserting .* between each character.
- !ruby/struct:SM::Flow::VERB 
  body: "  <tt>pattern</tt> is the String containing the abbreviation\n  <tt>list</tt> is the Array of Strings to match against\n"
- !ruby/struct:SM::Flow::P 
  body: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  list = %w{ foo bar bars }\n  pattern = 'br'\n  God.pattern_match(list, pattern)\n  # =&gt; ['bar', 'bars']\n"
- !ruby/struct:SM::Flow::P 
  body: Returns String[]:matched_elements
full_name: God::pattern_match
is_singleton: true
name: pattern_match
params: (pattern, list)
visibility: public
