Sha256: 456ba846863cdf1ffc5a89fa5d1b33c801b18c70a2abe87552476e6e26de6de4

Contents?: true

Size: 299 Bytes

Versions: 25

Compression:

Stored size: 299 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_]+/, example: 'ALPHA_NUMERIC_ALL_CAPS'
  define_pattern :full_code, /(#{code}+)\/?(#{code})?/, example: "(SOURCE_CODE/)#{code.to_example}"
  
end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
quandl_client-2.5.0 lib/quandl/pattern/client.rb
quandl_client-2.4.9 lib/quandl/pattern/client.rb
quandl_client-2.4.8 lib/quandl/pattern/client.rb
quandl_client-2.4.7 lib/quandl/pattern/client.rb
quandl_client-2.4.6 lib/quandl/pattern/client.rb