Change from:
def initialize(words, config_file = nil)
# ...
end
to
def initialize(*words, config_file: nil)
# ...
end
Not 100% sold on the *words; I could see how it could be useful to pass an array. Also, would definitely be useful to pass a string too.
Change from:
to
Not 100% sold on the
*words; I could see how it could be useful to pass an array. Also, would definitely be useful to pass a string too.