Sha256: 1b3f81ffb7f5c5f70640a23fe970e44b565899884d8224d2e5bcf0e8311aeeb9

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

#!/usr/bin/env ruby
#  Markov Chain Generator
# based on the Python version by Gary Burd: http://gary.burd.info/2003/11/markov-chain-generator.html
# Released into the public domain, please keep this notice intact
# (c) InVisible GmbH
# http://www.invisible.ch
#

require File.join File.expand_path(__FILE__), '../../lib/markov_uuid'

file = ARGV[0]

storage = MarkovUuid::Storage.new

storage.load "markov.yaml" unless file

if file
  storage.add MarkovUuid::Markov.from_file file
  storage.save "markov.yaml"
end

puts storage.to_words

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markov_uuid-0.0.1 bin/markov