module Quandl::Data::Operations::ClassMethods

Public Instance Methods

forwardable_methods() click to toggle source
# File lib/quandl/data/operations.rb, line 16
def forwardable_methods
  @forwardable_methods ||= (operations + operations.collect{|o| "#{o}!" if method_defined?("#{o}!") }).compact
end
new_with_jd(*args) click to toggle source
# File lib/quandl/data/operations.rb, line 9
def new_with_jd(*args)
  # force data to date
  args[0] = Format.to_date( args[0] )
  # onwards
  self.new( *args )
end
operations() click to toggle source
# File lib/quandl/data/operations.rb, line 20
def operations
  [ :to_csv, :to_jd, :to_date, :sort_order, :sort_ascending, 
    :sort_descending, :transform, :collapse, :frequency, :parse ]
end