Class: Argyle::Layout::Area
- Inherits:
-
Object
- Object
- Argyle::Layout::Area
- Defined in:
- lib/argyle/layout/area.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(parameters) ⇒ Area
constructor
A new instance of Area.
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
#height ⇒ Object (readonly)
Returns the value of attribute height.
2 3 4 |
# File 'lib/argyle/layout/area.rb', line 2 def height @height end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
2 3 4 |
# File 'lib/argyle/layout/area.rb', line 2 def width @width end |