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.
50 51 52 53 |
# File 'lib/wassup/pane.rb', line 50 def initialize(display, object) @display = display @object = object || display end |
Instance Attribute Details
#display ⇒ Object
Returns the value of attribute display.
47 48 49 |
# File 'lib/wassup/pane.rb', line 47 def display @display end |
#object ⇒ Object
Returns the value of attribute object.
48 49 50 |
# File 'lib/wassup/pane.rb', line 48 def object @object end |