Flowdock
method

modify_value

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::MemoryStore
modify_value(name, amount, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/memory_store.rb, line 155
        def modify_value(name, amount, options)
          synchronize do
            options = merged_options(options)
            if num = read(name, options)
              num = num.to_i + amount
              write(name, num, options)
              num
            end
          end
        end
Register or log in to add new notes.