method
namespace
rails latest stable - Class:
ActiveSupport::Cache::Store
Method not available on this version
This method is only available on newer versions. The first available version (v8.1.1) is shown here.
namespace()public
Get the current namespace
# File activesupport/lib/active_support/cache.rb, line 800
def namespace
@options[:namespace]
end Related methods
- Instance methods
- cleanup
- clear
- decrement
- delete
- delete_matched
- delete_multi
- exist?
- fetch
- fetch_multi
- increment
- mute
- namespace
- namespace=
- new_entry
- read
- read_counter
- read_multi
- silence!
- write
- write_counter
- write_multi
- Class methods
- new
- Private methods
-
retrieve_pool_options -
_instrument -
default_serializer -
delete_entry -
delete_multi_entries -
deserialize_entry -
expand_and_namespace_key -
expanded_key -
expanded_version -
get_entry_value -
handle_expired_entry -
handle_invalid_expires_in -
instrument -
instrument_multi -
key_matcher -
merged_options -
namespace_key -
normalize_key -
normalize_options -
normalize_version -
read_entry -
read_multi_entries -
save_block_result_to_cache -
serialize_entry -
truncate_key -
validate_options -
write_entry -
write_multi_entries