Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

SyntaxSuggest::CodeLine.from_source

from_source(source, lines: nil)

Returns an array of CodeLine objects from the source string

See also .new #<=> also in 4.0 · 3.3 · 3.2