class

Tput::Namespace::Size

Inherits Reference / Object

Constructors

new(width : Int32, height : Int32)
Source

Class methods

[](width, height)

def [](arg : Int32) case arg when 0 @width when 1 @height else raise IndexError.new "Index out of bounds" end end

Source

Instance methods

height
Source
height=(height : Int32)
Source
to_s(io)
Source
width
Source
width=(width : Int32)
Source