Class: MacOS::Display::Size

Inherits:
Struct
  • Object
show all
Defined in:
lib/macos/display.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



8
9
10
# File 'lib/macos/display.rb', line 8

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



8
9
10
# File 'lib/macos/display.rb', line 8

def width
  @width
end