lib/global_session/session.rb in global_session-0.9.0 vs lib/global_session/session.rb in global_session-1.0.0

- old
+ new

@@ -109,9 +109,11 @@ # contained(true|false):: Whether the session currently has a value for the specified key. def has_key?(key) @signed.has_key?(key) || @insecure.has_key?(key) end + alias :key? :has_key? + # Return the keys that are currently present in the global session. # # === Return # keys(Array):: List of keys contained in the global session def keys