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 = "")
SourceInstance methods
accepted?
Sourcecandidate_path
Sourcecandidate_path=(candidate_path : Path)
Sourcedrift?
Sourcefailed?
Sourceoffset
Sourceoffset=(offset : Float64)
Sourceoutput_path
Sourceoutput_path=(output_path : Path | Nil)
Sourcestatus
Sourcestatus=(status : SyncStatus)
Sourcesync_output
Sourcesync_output=(sync_output : String)
Sourceto_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>