class PPCurses::Size


Attributes

height[RW]
width[RW]

Public Class Methods

new( width=0, height=0 ) click to toggle source
# File lib/ppcurses/geometry.rb, line 27
def initialize( width=0, height=0 )
  @width = width
  @height = height
end
zeroSize() click to toggle source
# File lib/ppcurses/geometry.rb, line 32
def Size.zeroSize
  Size.new
end

Public Instance Methods

to_s() click to toggle source
# File lib/ppcurses/geometry.rb, line 36
def to_s
  "width=#{@width} height=#{@height}"
end