Class: YARD::RSpecExamples::RSpecDescribeHandler
- Inherits:
-
Handlers::Ruby::Base
- Object
- Handlers::Ruby::Base
- YARD::RSpecExamples::RSpecDescribeHandler
- Defined in:
- lib/yard/rspec_examples/describe_handler.rb
Overview
Handler used to inspect the rspec describe call used, to catch the class describe declarations and method declarations
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
10 11 12 13 14 15 |
# File 'lib/yard/rspec_examples/describe_handler.rb', line 10 def process param = statement.parameters.first ParserTrace.stack.push(param) parse_block(statement.last.last) ParserTrace.stack.pop end |