Method: HTML#initialize

Defined in:
lib/html.rb

#initialize(string = "") ⇒ HTML

Returns a new instance of HTML.



13
14
15
16
17
18
# File 'lib/html.rb', line 13

def initialize(string = "")
  self.string = string
  @illust_current_url = nil
  @illust_grep_pattern = /<img.+?src=\"(?<src>.+?)\".*?>/i
  @strip_decoration_tag = false
end