class Cronic::Separator

Defined in:

cronic/tags/separator.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Cronic::Tag

start=(time : Time) start=, type : Int32 | String | Symbol type, type=(type : Int32 | String | Symbol) type=, width : Int32? width, width=(width : Int32 | Nil) width=

Constructor methods inherited from class Cronic::Tag

new(type : TagType, width : Int32 | Nil = nil, **options) new

Class methods inherited from class Cronic::Tag

scan(tokens, **options) scan

Class Method Detail

def self.scan(tokens : Array(Token), **options) : Void #

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


[View source]
def self.scan_for_quote(token : Token) : SeparatorQuote | Nil #

token - The Token object we want to scan.


[View source]

Instance Method Detail

def to_s #
Description copied from class Object

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.


[View source]