Class/Module Index [+]

Quicksearch

YARD::Parser::Ruby::ConditionalNode

Public Instance Methods

condition() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 447
def condition; first end
condition?() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 446
def condition?; true end
else_block() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 450
def else_block
  if self[2] && !cmod?
    self[2].type == :elsif ? self[2] : self[2][0]
  end
end
then_block() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 448
def then_block; self[1] end

[Validate]

Generated with the Darkfish Rdoc Generator 2.