Skip to main content

Crate alofmt

Crate alofmt 

Source
Expand description

A fast, deterministic Ruby formatter built on Prism.

Structs§

FormatOptions
Formatting policy used by crate::format_with_options.

Enums§

QuoteStyle
Preferred delimiter for plain strings and quoted symbols.

Functions§

format
format_with_options
is_formatted
Returns whether source is already formatted using the default policy, without allocating the rendered output.
is_formatted_with_options
Returns whether source is already formatted using options, without allocating the rendered output.