Class: YARD::Handlers::Cucumber::Base

Inherits:
Handlers::Base
  • Object
show all
Extended by:
Parser::Cucumber
Defined in:
lib/yard/handlers/cucumber/base.rb

Direct Known Subclasses

FeatureHandler

Class Method Summary collapse

Class Method Details

.handles?(node) ⇒ Boolean

Returns:

  • (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