A simpler way to specify where the method split should split is just using single or double quotes around the character: 
result = @my_string.split('.')