Sha256: 6c1c6c02a7333a054b0da03b4fd528df2927e2d666cdd32100c9523ed0ce7faf
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_]{3,}+/, 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.2 | lib/quandl/pattern/client.rb |
quandl_client-2.4.1 | lib/quandl/pattern/client.rb |
quandl_client-2.4.0 | lib/quandl/pattern/client.rb |