123456789_123456789_123456789_123456789_123456789_

Class: YARD::Handlers::Ruby::TestNodeWrapper

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: YARD::Handlers::Ruby::HandlesExtension
Defined in: lib/yard/handlers/ruby/base.rb

Class Method Summary

HandlesExtension - Inherited

.new

Creates a new extension with a specific matcher value name

Instance Method Summary

HandlesExtension - Inherited

#matches?

Tests if the node matches the handler.

Constructor Details

This class inherits a constructor from YARD::Handlers::Ruby::HandlesExtension

Instance Method Details

#matches?(node) ⇒ Boolean

[ GitHub ]

  
# File 'lib/yard/handlers/ruby/base.rb', line 54

def matches?(node) !node.send(name).is_a?(FalseClass) end