rack-flash2 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rack/flash.rb +1 -3
- metadata +2 -2
data/lib/rack/flash.rb
CHANGED
@@ -34,8 +34,6 @@ module Rack
|
|
34
34
|
|
35
35
|
# Implements bracket accessors for storing and retrieving flash entries.
|
36
36
|
class FlashHash
|
37
|
-
attr_reader :flagged
|
38
|
-
|
39
37
|
def initialize(store, opts={})
|
40
38
|
raise Rack::Flash::SessionUnavailable \
|
41
39
|
.new('Rack::Flash depends on session middleware.') unless store
|
@@ -65,7 +63,7 @@ module Rack
|
|
65
63
|
# Hide the underlying :__FLASH__ session key and only expose values stored
|
66
64
|
# in the flash.
|
67
65
|
def inspect
|
68
|
-
'#<FlashHash @values=%s
|
66
|
+
'#<FlashHash @values=%s>' % [values.inspect, cache.inspect]
|
69
67
|
end
|
70
68
|
|
71
69
|
# Human readable for logging.
|