Class: YARD::Handlers::Lucid::Base

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

Direct Known Subclasses

FeatureHandler

Class Method Summary collapse

Class Method Details

.handles?(node) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
10
11
# File 'lib/yard/handlers/lucid/base.rb', line 7

def handles?(node)
  handlers.any? do |a_handler|
    node.class == a_handler
  end
end