lib/quandl/model/base.rb in quandl-1.0.3 vs lib/quandl/model/base.rb in quandl-1.0.4
- old
+ new
@@ -20,12 +20,14 @@
@raw_data.to_s
end
private
+ # rubocop:disable MethodMissing
def method_missing(method_name, *args, &block)
return @raw_data[method_name.to_s] if @raw_data.key?(method_name.to_s)
return @raw_data.method(method_name.to_s).call(*args, &block) if @raw_data.respond_to?(method_name.to_s)
super
end
+ # rubocop:enable MethodMissing
end
end