class

Cronic::Separator

Inherits Cronic::Tag < Reference < Object

Class methods

scan(tokens : Array(Token), **options) : Void

Scan an Array of Token objects and apply any necessary Separator tags to each token.

Source
scan_for_quote(token : Token) : SeparatorQuote | Nil

token - The Token object we want to scan.

Source

Instance methods

to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source