Class: YARD::Tags::RSpecExampleTag
- Inherits:
-
Tag
- Object
- Tag
- YARD::Tags::RSpecExampleTag
- Defined in:
- lib/yard-examples-from-rspec.rb
Overview
A new type of tags has to be used cause we need to intercept the text call and generate its contents (in generation time, after everything was parsed)
Instance Method Summary collapse
Instance Method Details
#text ⇒ Object
73 74 75 |
# File 'lib/yard-examples-from-rspec.rb', line 73 def text @text =RSpecExampleRegistry.example_map[object.path] end |