module NameGen
Constants
- VERSION
Attributes
configuration[R]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/name_gen.rb, line 24 def configure yield(configuration) end
get_name(elements = 3)
click to toggle source
# File lib/name_gen.rb, line 20 def get_name(elements = 3) @generator.get_name(elements) end
init(type = :markov)
click to toggle source
# File lib/name_gen.rb, line 15 def init(type = :markov) @configuration = NameGen::Config.new(type) @generator = NameGen::Generator.new end