Module: Quandl::Data::Logging

Extended by:
ActiveSupport::Concern
Included in:
Quandl::Data
Defined in:
lib/quandl/data/logging.rb

Instance Method Summary collapse

Instance Method Details

#to_csvObject



12
13
14
15
16
17
# File 'lib/quandl/data/logging.rb', line 12

def to_csv
  t1 = Time.now
  r = super
  Quandl::Logger.debug("#{self.class.name}.to_csv (#{t1.elapsed_ms})")
  r
end

#to_hObject



5
6
7
8
9
10
# File 'lib/quandl/data/logging.rb', line 5

def to_h
  t1 = Time.now
  r = super
  Quandl::Logger.debug("#{self.class.name}.to_h (#{t1.elapsed_ms})")
  r
end