Update documentation for `WebVTT.build`

このコミットが含まれているのは:
syeopite 2023-08-24 16:27:06 -07:00
コミット 4e97d8ad09
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A73C186DA3955A1A
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -44,10 +44,10 @@ module WebVTT
end
end
# Returns the resulting `String` of writing WebVTT to the yielded WebVTT::Builder
# Returns the resulting `String` of writing WebVTT to the yielded `WebVTT::Builder`
#
# ```
# string = WebVTT.build do |io|
# string = WebVTT.build do |vtt|
# vtt.cue(Time::Span.new(seconds: 1), Time::Span.new(seconds: 2), "Line 1")
# vtt.cue(Time::Span.new(seconds: 2), Time::Span.new(seconds: 3), "Line 2")
# end