module Hanzo
  module Heroku

    class << self

      def available_labs
        `bundle exec heroku labs`.each_line.to_a.inject([]) do |memo, line|
          if line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line)
            memo << [line[:name], line[:description]]
          else
            memo
          end
        end
      end

    end

  end
end

module Hanzo
  module Heroku

    class << self

      def available_labs
        labs = []

        `bundle exec heroku labs`.each_line do |line|
          next unless line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line)

          labs << [line[:name], line[:description]]
        end

        labs
      end

    end

  end
end

--- 
+++ 
@@ -4,15 +4,13 @@
     class << self
 
       def available_labs
-        labs = []
-
-        `bundle exec heroku labs`.each_line do |line|
-          next unless line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line)
-
-          labs << [line[:name], line[:description]]
+        `bundle exec heroku labs`.each_line.to_a.inject([]) do |memo, line|
+          if line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line)
+            memo << [line[:name], line[:description]]
+          else
+            memo
+          end
         end
-
-        labs
       end
 
     end
Use good old inject for Labs listing
