Module: RSpec::Documentation
- Defined in:
- lib/rspec/documentation.rb,
lib/rspec/documentation/version.rb more...
Overview
Extension for RSpec, locates RSpec examples found in a Markdown file and executes them, replacing their output into a tree of Markdown files.
Defined Under Namespace
Classes: Error
Constant Summary collapse
- VERSION =
'0.0.11'
Class Method Summary collapse
Class Method Details
permalink .configure(&block) ⇒ Object
[View source]
18 19 20 |
# File 'lib/rspec/documentation.rb', line 18 def configure(&block) RSpecDocumentation.configure(&block) end |
permalink .generate_documentation ⇒ Object
[View source]
14 15 16 |
# File 'lib/rspec/documentation.rb', line 14 def generate_documentation RSpecDocumentation::Documentation.new.tap(&:generate) end |