Permalink
Browse files

Ruby 1.9.1 compatibility

  • Loading branch information...
1 parent c3d5290 commit 28744514cee928a172388a2a25ba5f22a19dc711 Andre Lewis committed Feb 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 passenger_status/passenger_status.rb
@@ -15,7 +15,7 @@ def build_report
def parse_data(data)
stats = {}
- data.each do |line|
+ data.each_line do |line|
#line = line.gsub(/\e\[\d+m/,'')
if line =~ /^max\s+=\s(\d+)/
stats["max"] = $1

0 comments on commit 2874451

Please sign in to comment.