Sha256: 9691ab3257aad381d7b64689ec2e691483ac394ac84df7d7f0b23ab18e18ff52
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
module MrYahooFinance module Builder module Validator def valid?(tr, key_word) tr.css('td').text.include?(key_word) end def parseable?(html) html and html.css('table.yfnc_tabledata1').any? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mr_yahoo_finance-0.1.0 | lib/mr_yahoo_finance/builder/validator.rb |