Class: ReqresRspec::Writers::Html
- Inherits:
-
Object
- Object
- ReqresRspec::Writers::Html
- Defined in:
- lib/reqres_rspec/writers/html.rb
Instance Method Summary collapse
-
#initialize(records) ⇒ Html
constructor
A new instance of Html.
- #write ⇒ Object
Constructor Details
#initialize(records) ⇒ Html
Returns a new instance of Html.
4 5 6 |
# File 'lib/reqres_rspec/writers/html.rb', line 4 def initialize(records) @records = records end |
Instance Method Details
#write ⇒ Object
8 9 10 11 12 13 |
# File 'lib/reqres_rspec/writers/html.rb', line 8 def write recreate_doc_dir cleanup generate_header generate_specs end |