class Tput::Namespace::Size
- Tput::Namespace::Size
- Reference
- Object
Defined in:
tput/namespace.crConstructors
Class Method Summary
-
.[](width, height)
def [](arg : Int32) case arg when 0 @width when 1 @height else raise IndexError.new "Index out of bounds" end end
Instance Method Summary
Constructor Detail
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