Class: Quandl::Command::Tasks::Update::QuandlUtils

Inherits:
Object
  • Object
show all
Defined in:
lib/quandl/command/tasks/update.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(task = nil) ⇒ QuandlUtils

Returns a new instance of QuandlUtils.



233
234
235
# File 'lib/quandl/command/tasks/update.rb', line 233

def initialize(task=nil)
  self.task = task
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args, &block) ⇒ Object



237
238
239
# File 'lib/quandl/command/tasks/update.rb', line 237

def method_missing(method_name, *args, &block)
  fu(method_name, *args, &block)
end

Instance Attribute Details

#taskObject

Returns the value of attribute task.



231
232
233
# File 'lib/quandl/command/tasks/update.rb', line 231

def task
  @task
end