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