Opal::Asciicast::Header
Inherits JSON::Serializable < Struct < Value < Object
Represents the Asciinema v2 file header (Line 1 of a .cast recording). Spec: https://github.com/asciinema/asciinema/blob/develop/doc/asciicast-v2.md
Constructors
new(pull : JSON::PullParser)
Sourcenew(width : Int32 = 80, height : Int32 = 24, title : String | Nil = nil, timestamp : Int64 = Time.utc.to_unix, term : String = "xterm-256color", shell : String = "/bin/bash", theme : Hash(String, String) | Nil = nil, idle_time_limit : Float64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
env
Sourceheight
Sourceidle_time_limit
Sourcetheme
Sourcetimestamp
Sourcetitle
Sourceversion
Sourcewidth
Source