class PositionalGenerator::Builder

def letter(name: nil, length: 1, ranges: ['a'..'z', 'A'..'Z'])

Other tags:
    Example: Generate three-letter strings from within specific values -
    Example: Generate five uppercase letters named :b -
    Example: Generate a letter -

Returns:
  • (void) -

Parameters:
  • ranges (Array) -- an array of limitations on the
  • length (Integer, Range) -- how many letters to generate
  • name (Symbol) -- the name for this node in the group
def letter(name: nil, length: 1, ranges: ['a'..'z', 'A'..'Z'])
  @components << Component.new(@components.count, name, [], Letter.new(length, ranges))
end