Class: DataScienceTheater3000::Html2Story

Inherits:
Object
  • Object
show all
Defined in:
lib/data_science_theater_3000/html2story.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html_string) ⇒ Html2Story

Returns a new instance of Html2Story.

Parameters:

  • (String)


9
10
11
# File 'lib/data_science_theater_3000/html2story.rb', line 9

def initialize html_string
  @html_string = html_string
end

Instance Attribute Details

#html_stringObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



5
6
7
# File 'lib/data_science_theater_3000/html2story.rb', line 5

def html_string
  @html_string
end

Instance Method Details

#resultHash

Returns:

  • (Hash)


15
16
17
# File 'lib/data_science_theater_3000/html2story.rb', line 15

def result
  dst_request.result
end