class Tput::Namespace::Size

Defined in:

tput/namespace.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32) #

[View source]

Class Method Detail

def self.[](width, height) #

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


[View source]

Instance Method Detail

def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def to_s(io) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]