Permalink
Browse files

Missed one number that needs padding.

  • Loading branch information...
1 parent 7eefb1d commit 71210486e6995af64e8606c1db4a90f9effb5a6d Kyle Rippey committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/robut/plugin/stock.rb
@@ -20,7 +20,7 @@ def format_reply(stock_data)
r = []
stock_data.keys.sort.each do |sym|
sd = stock_data[sym]
- r << "#{sym}: #{format_number(sd.changePoints)} / #{format_number(sd.changePercent)}%,\tbid: #{pad_number(sd.bid)},\task: #{pad_number(sd.ask)},\tprevious close: #{sd.previousClose}"
+ r << "#{sym}: #{format_number(sd.changePoints)} / #{format_number(sd.changePercent)}%,\tbid: #{pad_number(sd.bid)},\task: #{pad_number(sd.ask)},\tprevious close: #{pad_number(sd.previousClose)}"
end
r.join("\n")
end

0 comments on commit 7121048

Please sign in to comment.