Skip to content

Commit

Permalink
adding nodoc to private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jcutrell committed Nov 23, 2014
1 parent 7fe3cf8 commit 6dd0dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_dispatch/middleware/flash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def notice=(message)
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))
Expand All @@ -95,7 +95,7 @@ def self.from_session_value(value)
# 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
Expand Down

0 comments on commit 6dd0dc3

Please sign in to comment.