method

lstrip!

v1_9_3_392 - Show latest stable - Class: String
lstrip!()
public

Removes leading whitespace from str, returning nil if no change was made. See also String#rstrip! and String#strip!.

"  hello  ".lstrip   #=> "hello  "
"hello".lstrip!      #=> nil