lib/rcoli/templates/help.erb in rcoli-0.6.0 vs lib/rcoli/templates/help.erb in rcoli-0.6.1
- old
+ new
@@ -10,10 +10,10 @@
<%= @version %>
<%= $terminal.color "COMMANDS", :bold %>:
-<% @commands.sort{|a,b| a.value_of_name <=> b.value_of_name}.each do |c| -%>
+<% @commands.sort{|a,b| a.value_of_name.to_s <=> b.value_of_name.to_s}.each do |c| -%>
<%= "%-20s %s" % [c.value_of_name, c.value_of_description] %>
<% end -%>
<% unless @options.empty? -%>
<%= $terminal.color "GLOBAL OPTIONS", :bold %>:
\ No newline at end of file