Module: RSpec::Documentation
- Defined in:
- lib/rspec/documentation.rb,
lib/rspec/documentation/version.rb
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
.configure(&block) ⇒ Object
18 19 20 |
# File 'lib/rspec/documentation.rb', line 18 def configure(&block) RSpecDocumentation.configure(&block) end |
.generate_documentation ⇒ Object
14 15 16 |
# File 'lib/rspec/documentation.rb', line 14 def generate_documentation RSpecDocumentation::Documentation.new.tap(&:generate) end |