Sha256: 8cc46904a2ddb8b6229e4429e09c2267e3c28fd5707a55f30bc1750aba8ab1f8
Contents?: true
Size: 297 Bytes
Versions: 3
Compression:
Stored size: 297 Bytes
Contents
module Quandl class Pattern define_pattern :dataset_date, /[0-9]{4}\-[0-9]{2}\-[0-9]{2}/, example: "yyyy-mm-dd" define_pattern :code, /[A-Z0-9_]{2,}+/, example: 'ALPHA_NUMERIC_1024' define_pattern :full_code, /(#{code}\/)?(#{code})/, example: "(SOURCE_CODE/)#{code.to_example}" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quandl_client-2.4.5 | lib/quandl/pattern/client.rb |
quandl_client-2.4.4 | lib/quandl/pattern/client.rb |
quandl_client-2.4.3 | lib/quandl/pattern/client.rb |