lib/gem_leaves.rb
def show_leaves
    if @options[:diagram]
      diagrammatical_output
    elsif @options[:pipe]
      pipe_output
    else
      textual_output
    end
  end
# Show the leaves using one of the supported output format.
Show the leaves using one of the supported output format.
Show the leaves using one of the supported output format .
def show_leaves
    if @options[:diagram]
      diagrammatical_output
    elsif @options[:pipe]
      pipe_output
    else
      textual_output
    end
  end
def show_leaves if @options [ :diagram ] diagrammatical_output elsif @options [ :pipe ] pipe_output else textual_output end end
Show the leaves using one of the supported output format.
Show the leaves using one of the supported output format .