struct

EasySubtitle::Block

Inherits Struct / Value / Object

Constructors

new(index : Int32, start_time : EasySubtitle::Timestamp, end_time : EasySubtitle::Timestamp, lines : Array(String))
Source

Instance methods

content
Source
end_time
Source
end_time=(end_time : Timestamp)
Source
index
Source
index=(index : Int32)
Source
lines
Source
lines=(lines : Array(String))
Source
start_time
Source
start_time=(start_time : Timestamp)
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
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