aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cutrell <jonathan.cutrell@gmail.com>2014-11-23 13:39:53 -0500
committerJonathan Cutrell <jonathan.cutrell@gmail.com>2014-11-23 13:39:53 -0500
commit6dd0dc3e7217f8af7877c5831b3d8816d156f21e (patch)
tree595f3bd6165925c86752e8581de619e9483226a4
parent7fe3cf810f28c15ff7e74198bfa6d6f0843b6bfa (diff)
downloadrails-6dd0dc3e7217f8af7877c5831b3d8816d156f21e.tar.gz
rails-6dd0dc3e7217f8af7877c5831b3d8816d156f21e.tar.bz2
rails-6dd0dc3e7217f8af7877c5831b3d8816d156f21e.zip
adding nodoc to private methods
-rw-r--r--actionpack/lib/action_dispatch/middleware/flash.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb
index 8fee9c9e8c..a7f95150a4 100644
--- a/actionpack/lib/action_dispatch/middleware/flash.rb
+++ b/actionpack/lib/action_dispatch/middleware/flash.rb
@@ -79,7 +79,7 @@ module ActionDispatch
class FlashHash
include Enumerable
- def self.from_session_value(value)
+ def self.from_session_value(value) #:nodoc:
flash = case value
when FlashHash # Rails 3.1, 3.2
new(value.instance_variable_get(:@flashes), value.instance_variable_get(:@used))
@@ -95,7 +95,7 @@ module ActionDispatch
# Builds a hash containing the discarded values and the hashes
# representing the flashes.
# If there are no values in @flashes, returns nil.
- def to_session_value
+ def to_session_value #:nodoc:
return nil if empty?
{'discard' => @discard.to_a, 'flashes' => @flashes}
end