Method: HTML#initialize
- Defined in:
- lib/html.rb
#initialize(string = "") ⇒ HTML
Returns a new instance of HTML.
12 13 14 15 16 17 |
# File 'lib/html.rb', line 12 def initialize(string = "") @string = string @illust_current_url = nil @illust_grep_pattern = /<img.+?src=\"(?<src>.+?)\".*?>/i @strip_decoration_tag = false end |