qticker 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +0,0 @@
1
- class Quote < StockAttr
2
-
3
- def display
4
- puts "Current: #{price} #{change}(#{change_pct})"
5
- puts "Open: #{open}"
6
- puts "Volume: #{volume}"
7
- puts "Avg Vol: #{volume_avg}"
8
- puts "Mkt Cap: #{mkt_cap}"
9
- puts "P/E(ttm): #{pe_ttm}"
10
- puts "Yield: #{div_yld}%"
11
- end
12
-
13
- end
@@ -1,10 +0,0 @@
1
- class StockAttr < Table
2
-
3
- attr_accessor :stock
4
-
5
- def initialize(data_hash, stock)
6
- super(data_hash)
7
- self.stock = stock
8
- end
9
-
10
- end