Class: Gitter::Cell

Inherits:
Object
  • Object
show all
Defined in:
lib/gitter/cell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, html_options = {}
  @content, @html_options = content, html_options
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



5
6
7
# File 'lib/gitter/cell.rb', line 5

def content
  @content
end

#html_optionsObject (readonly)

Returns the value of attribute html_options.



5
6
7
# File 'lib/gitter/cell.rb', line 5

def html_options
  @html_options
end