Class: Wassup::Pane::Content::Row

Inherits:
Object
  • Object
show all
Defined in:
lib/wassup/pane.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#displayObject

Returns the value of attribute display.



53
54
55
# File 'lib/wassup/pane.rb', line 53

def display
  @display
end

#objectObject

Returns the value of attribute object.



54
55
56
# File 'lib/wassup/pane.rb', line 54

def object
  @object
end