lib/gem_leaves.rb
def textual_output
    @leaves.sort.each do |leaf|
      puts "#{leaf.name} (#{leaf.version})"
    end
  end
# Simply puts the list of _leaves_ to STDOUT. It optionally merges the
# content of the already loaded configuration file with the leaves list.
Simply puts the list of _leaves_ to STDOUT. It optionally merges the
content of the already loaded configuration file with the leaves list.
Simply puts the list of _leaves_ to STDOUT . It optionally merges the content of the already loaded configuration file with the leaves list .
def textual_output
    @leaves.sort.each do |leaf|
      puts "#{leaf.name} (#{leaf.version})"
    end
  end
def textual_output @leaves . sort . each do | leaf | puts "#{leaf.name} (#{leaf.version})" end end
Simply puts the list of _leaves_ to STDOUT.
Simply puts the list of _leaves_ to STDOUT .