web/app/helpers/compare_helper.rb
changeset 106 eac4098d544d
parent 95 5336c148406a
child 111 28dccacb2bc1
--- a/web/app/helpers/compare_helper.rb	Mon Jun 24 22:59:28 2013 +0200
+++ b/web/app/helpers/compare_helper.rb	Tue Jun 25 22:11:10 2013 +0200
@@ -1,12 +1,12 @@
 module CompareHelper
 
-  def comparing_impls_headline(impls)
-    if impls.empty?
+  def comparing_runtimes_headline(runtimes)
+    if runtimes.empty?
       "Nothing to compare"
-    elsif impls.size == 1
-      "Showing #{impls.first.name}"
+    elsif runtimes.size == 1
+      "Showing #{runtimes.first.name}"
     else
-      "Comparing #{impls.map(&:name)[0..-2].join(", ")} and #{impls[-1].name}"
+      "Comparing #{runtimes.map(&:name)[0..-2].join(", ")} and #{runtimes[-1].name}"
     end
   end