Class: Argyle::Layout::Area

Inherits:
Object
  • Object
show all
Defined in:
lib/argyle/layout/area.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parameters) ⇒ Area

Returns a new instance of Area.



4
5
6
# File 'lib/argyle/layout/area.rb', line 4

def initialize(parameters)
  @parameters = parameters
end

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height.



2
3
4
# File 'lib/argyle/layout/area.rb', line 2

def height
  @height
end

#widthObject (readonly)

Returns the value of attribute width.



2
3
4
# File 'lib/argyle/layout/area.rb', line 2

def width
  @width
end