Ruby markov