Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

SyntaxSuggest::Cli.new

new(argv:, exit_obj: Kernel, io: $stdout, env: ENV)

ARGV is Everything passed to the executable, does not include executable name

All other intputs are dependency injection for testing

See also #call #parse also in 4.0 · 3.4 · 3.3