class TumblrThemer::ChatLine

Attributes

data[R]
html[R]
line_index[R]

Public Class Methods

new(html, data, index=0) click to toggle source
# File lib/tumblr-themer/chat_line.rb, line 5
def initialize html, data, index=0
  @html = TumblrThemer::HtmlSnippet.new(html.dup) if html
  @data = data.dup
  @line_index = index
end