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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Translates a string in the form on a set of numerical and/or alphanumerical characters separated by non-word characters (eg \W+) into a Tuple. The values of the tuple will be converted to integers if they are purely numerical.
- !ruby/struct:SM::Flow::VERB 
  body: "  Tuple.cast_from_string('1.2.3a')  #=&gt; [1,2,&quot;3a&quot;]\n"
- !ruby/struct:SM::Flow::P 
  body: It you would like to control the interpretation of each value as it is added to the tuple you can supply a block.
- !ruby/struct:SM::Flow::VERB 
  body: "  Tuple.cast_from_string('1.2.3a'){ |v| v.upcase }  #=&gt; [&quot;1&quot;,&quot;2&quot;,&quot;3A&quot;]\n"
- !ruby/struct:SM::Flow::P 
  body: This method is called by String#to_t.
full_name: Tuple::cast_from_string
is_singleton: true
name: cast_from_string
params: ( str, &yld )
visibility: public
