Class: Wassup::Pane::Content
- Inherits:
-
Object
- Object
- Wassup::Pane::Content
- Defined in:
- lib/wassup/pane.rb
Defined Under Namespace
Classes: Row
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
- #add_row(display, object = nil) ⇒ Object
-
#initialize(title = nil) ⇒ Content
constructor
A new instance of Content.
Constructor Details
#initialize(title = nil) ⇒ Content
Returns a new instance of Content.
57 58 59 60 |
# File 'lib/wassup/pane.rb', line 57 def initialize(title = nil) @title = title @data = [] end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
55 56 57 |
# File 'lib/wassup/pane.rb', line 55 def data @data end |
#title ⇒ Object
Returns the value of attribute title.
54 55 56 |
# File 'lib/wassup/pane.rb', line 54 def title @title end |