Method: HTML#initialize

Defined in:
lib/html.rb

#initialize(string = +"")) ⇒ HTML

Returns a new instance of HTML.



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

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