class

EasySubtitle::SyncResult

Inherits Reference / Object

Constructors

new(candidate_path : Path, output_path : Path | Nil = nil, offset : Float64 = 0.0, status : EasySubtitle::SyncStatus = SyncStatus::Failed, sync_output : String = "")
Source

Instance methods

accepted?
Source
candidate_path
Source
candidate_path=(candidate_path : Path)
Source
drift?
Source
failed?
Source
offset
Source
offset=(offset : Float64)
Source
output_path
Source
output_path=(output_path : Path | Nil)
Source
status
Source
status=(status : SyncStatus)
Source
sync_output
Source
sync_output=(sync_output : String)
Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source