Class: Dedalus::Container
Instance Attribute Summary
Attributes inherited from Element
#background_color, #color, #height, #height_percent, #margin, #offset, #padding, #position, #shown, #width, #width_percent, #z_order
Instance Method Summary collapse
-
#initialize(contents, attrs = {}) ⇒ Container
constructor
A new instance of Container.
- #show ⇒ Object
Methods inherited from Element
#big_font, #code_font, #draw_bounding_box, #font, #huge_font, #record?, #tiny_font, #view, #window
Constructor Details
#initialize(contents, attrs = {}) ⇒ Container
Returns a new instance of Container.
90 91 92 93 |
# File 'lib/dedalus/elements.rb', line 90 def initialize(contents, attrs={}) @contents = contents super(attrs) end |
Instance Method Details
#show ⇒ Object
95 96 97 |
# File 'lib/dedalus/elements.rb', line 95 def show @contents end |