Sha256: 7228cf8ad73126463d111385857df34189b6d06801ab507d6e3007e24feb002c
Contents?: true
Size: 444 Bytes
Versions: 5
Compression:
Stored size: 444 Bytes
Contents
require 'fin/models/quote' require 'fin/book_manager' module Fin # Represents list of ALL Quotes, indexed by repl_id # Its @books is a set of QuoteBooks by isin_id. Each QuoteBook lists Quotes by price. class QuoteList < ContainerList include BookManager def initialize super :item_type => Fin::Quote @book_index = proc { |item| item.price } @book_condition = proc { |item| item.price > 0 } end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fin-0.1.6 | lib/fin/quote_list.rb |
fin-0.1.5 | lib/fin/quote_list.rb |
fin-0.1.4 | lib/fin/quote_list.rb |
fin-0.1.3 | lib/fin/quote_list.rb |
fin-0.1.2 | lib/fin/quote_list.rb |