struct

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(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

env=(env : Hash(String, String) | Nil)
Source
height
Source
height=(height : Int32)
Source
idle_time_limit
Source
idle_time_limit=(idle_time_limit : Float64 | Nil)
Source
theme
Source
theme=(theme : Hash(String, String) | Nil)
Source
timestamp
Source
timestamp=(timestamp : Int64)
Source
title
Source
title=(title : String | Nil)
Source
version
Source
version=(version : Int32)
Source
width
Source
width=(width : Int32)
Source