lib/arstotzka/fetcher/cache.rb in arstotzka-1.4.3 vs lib/arstotzka/fetcher/cache.rb in arstotzka-1.4.4

- old
+ new

@@ -11,18 +11,19 @@ # to determinate the value to be returned also caching # it in an instance variable class Cache include Base - # @param block [Proc] block to be executed in case - # variable is not cached - # # @overload initialize(options, &block) # @param options [Arstotzka::Options] options passed - # as options object + # as options object + # @param block [Proc] block to be executed in case + # variable is not cached # # @overload initialize(options_hash, &block) # @param options_hash [Hash] opttions passed as hash + # @param block [Proc] block to be executed in case + # variable is not cached def initialize(options_hash = {}, &block) self.options = options_hash @block = block end