lib/yard/handlers/ruby/legacy/class_condition_handler.rb in yard-0.6.1 vs lib/yard/handlers/ruby/legacy/class_condition_handler.rb in yard-0.6.2

- old
+ new

@@ -68,9 +68,10 @@ parse_block end # @since 0.5.5 def parse_else_block + return unless statement.block stmtlist = YARD::Parser::Ruby::Legacy::StatementList stmtlist.new(statement.block).each do |stmt| if TkELSE === stmt.tokens.first parser.process(stmtlist.new(stmt.block)) end \ No newline at end of file