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