Module: ActiveSupport::Cache::MonetaStore::Rails5Support

Included in:
ActiveSupport::Cache::MonetaStore
Defined in:
lib/active_support/cache/moneta_store.rb

Overview

Before Rails 6.1, the ‘*_entry` methods didn’t use keyword args

Instance Method Summary collapse

Instance Method Details

#delete_entry(key, options) ⇒ Object



156
157
158
# File 'lib/active_support/cache/moneta_store.rb', line 156

def delete_entry(key, options)
  super(key, **options)
end

#read_entry(key, options) ⇒ Object



148
149
150
# File 'lib/active_support/cache/moneta_store.rb', line 148

def read_entry(key, options)
  super(key, **options)
end

#read_multi_entries(names, options) ⇒ Object



160
161
162
# File 'lib/active_support/cache/moneta_store.rb', line 160

def read_multi_entries(names, options)
  super(names, **options)
end

#write_entry(key, entry, options) ⇒ Object



152
153
154
# File 'lib/active_support/cache/moneta_store.rb', line 152

def write_entry(key, entry, options)
  super(key, entry, **options)
end

#write_multi_entries(hash, options) ⇒ Object



164
165
166
# File 'lib/active_support/cache/moneta_store.rb', line 164

def write_multi_entries(hash, options)
  super(hash, **options)
end