class YARD::Parser::Ruby::ConditionalNode

def cmod?; type =~ /_mod$/ end

def cmod?; type =~ /_mod$/ end

def condition; first end

def condition; first end

def condition?; true end

def condition?; true end

def else_block

def else_block
  return unless self[2] && !cmod?
  self[2].type == :elsif ? self[2] : self[2][0]
end

def then_block; self[1] end

def then_block; self[1] end