Method: YARD::Parser::Ruby::AstNode#block?

Defined in:
lib/yard/parser/ruby/ast_node.rb

#block?Boolean

Returns whether the node has a block.

Returns:

  • (Boolean)

    whether the node has a block


258
259
260
# File 'lib/yard/parser/ruby/ast_node.rb', line 258

def block?
  respond_to?(:block) || condition?
end