Sha256: f7fe752e43c8536372e9a441e10b5c4188fd0601022cb3c5d1331bcc1fdea66e
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
require "name_gen/version" require_relative './name_gen/rand_generator' require_relative './name_gen/markov_generator' require_relative './name_gen/generator' module NameGen class << self def init(type = :markov) @generator = Generator.new(type) end def get_name(elements = 3) @generator.get_name(elements) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
name_gen-0.2.0 | lib/name_gen.rb |