Class: RspecApiDocumentation::Writers::HtmlWriter

Inherits:
GeneralMarkupWriter show all
Defined in:
lib/rspec_api_documentation/writers/html_writer.rb

Constant Summary collapse

EXTENSION =
'html'

Constants inherited from GeneralMarkupWriter

GeneralMarkupWriter::INDEX_FILE_NAME

Instance Attribute Summary

Attributes inherited from Writer

#configuration, #index

Instance Method Summary collapse

Methods inherited from GeneralMarkupWriter

#index_file_name, #write

Methods inherited from Writer

clear_docs, #initialize, write

Constructor Details

This class inherits a constructor from RspecApiDocumentation::Writers::Writer

Instance Method Details

#extensionObject



14
15
16
# File 'lib/rspec_api_documentation/writers/html_writer.rb', line 14

def extension
  EXTENSION
end

#markup_example_classObject



10
11
12
# File 'lib/rspec_api_documentation/writers/html_writer.rb', line 10

def markup_example_class
  RspecApiDocumentation::Views::HtmlExample
end

#markup_index_classObject



6
7
8
# File 'lib/rspec_api_documentation/writers/html_writer.rb', line 6

def markup_index_class
  RspecApiDocumentation::Views::HtmlIndex
end