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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns an array of ranges mapping the characters per line.
- !ruby/struct:SM::Flow::VERB 
  body: "  &quot;this\\nis\\na\\ntest&quot;.range_of_line\n  #=&gt; [0..4, 5..7, 8..9, 10..13]\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: String#range_of_line
is_singleton: false
name: range_of_line
params: ()
visibility: public
