Class: YARD::Handlers::Cucumber::Base
- Inherits:
-
Handlers::Base
- Object
- Handlers::Base
- YARD::Handlers::Cucumber::Base
- Extended by:
- Parser::Cucumber
- Defined in:
- lib/yard/handlers/cucumber/base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.handles?(node) ⇒ Boolean
8 9 10 11 12 13 |
# File 'lib/yard/handlers/cucumber/base.rb', line 8 def handles?(node) handlers.any? do |a_handler| #log.debug "YARD::Handlers::Cucumber::Base#handles?(#{node.class})" node.class == a_handler end end |