Class: Gitter::Cell
- Inherits:
-
Object
- Object
- Gitter::Cell
- Defined in:
- lib/gitter/cell.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#html_options ⇒ Object
readonly
Returns the value of attribute html_options.
Instance Method Summary collapse
-
#initialize(content, html_options = {}) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(content, html_options = {}) ⇒ Cell
Returns a new instance of Cell.
7 8 9 |
# File 'lib/gitter/cell.rb', line 7 def initialize content, = {} @content, = content, end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
5 6 7 |
# File 'lib/gitter/cell.rb', line 5 def content @content end |
#html_options ⇒ Object (readonly)
Returns the value of attribute html_options.
5 6 7 |
# File 'lib/gitter/cell.rb', line 5 def end |