diff options
author | Zachary Scott <e@zzak.io> | 2015-04-26 21:54:08 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2015-04-26 21:54:08 -0700 |
commit | ba35b4702e012f866c4bf904d5b7da21375b3133 (patch) | |
tree | 4607b251d22d55920997e68de6e5ddf499af194e /activejob | |
parent | 974b6acdfc17f4271013db81d21a7d0ee460222a (diff) | |
download | rails-ba35b4702e012f866c4bf904d5b7da21375b3133.tar.gz rails-ba35b4702e012f866c4bf904d5b7da21375b3133.tar.bz2 rails-ba35b4702e012f866c4bf904d5b7da21375b3133.zip |
nodoc private internal constants from ActiveJob::Arguments
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/lib/active_job/arguments.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activejob/lib/active_job/arguments.rb b/activejob/lib/active_job/arguments.rb index 622c37098e..f9392cf278 100644 --- a/activejob/lib/active_job/arguments.rb +++ b/activejob/lib/active_job/arguments.rb @@ -24,6 +24,7 @@ module ActiveJob module Arguments extend self + # :nodoc: TYPE_WHITELIST = [ NilClass, Fixnum, Float, String, TrueClass, FalseClass, Bignum ] # Serializes a set of arguments. Whitelisted types are returned @@ -43,8 +44,11 @@ module ActiveJob end private + # :nodoc: GLOBALID_KEY = '_aj_globalid'.freeze + # :nodoc: SYMBOL_KEYS_KEY = '_aj_symbol_keys'.freeze + # :nodoc: WITH_INDIFFERENT_ACCESS_KEY = '_aj_hash_with_indifferent_access'.freeze private_constant :GLOBALID_KEY, :SYMBOL_KEYS_KEY, :WITH_INDIFFERENT_ACCESS_KEY @@ -113,6 +117,7 @@ module ActiveJob result end + # :nodoc: RESERVED_KEYS = [ GLOBALID_KEY, GLOBALID_KEY.to_sym, SYMBOL_KEYS_KEY, SYMBOL_KEYS_KEY.to_sym, |