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