method

lstrip

v1_8_7_72 - Show latest stable - Class: String
lstrip()
public

Returns a copy of str with leading whitespace removed. See also String#rstrip and String#strip.

   "  hello  ".lstrip   #=> "hello  "
   "hello".lstrip       #=> "hello"