Skip to content

Commit

Permalink
Replace inline usage of begin-end with parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia committed Jan 18, 2012
1 parent bc18aa0 commit bae3345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/session/abstract/id.rb
Expand Up @@ -183,7 +183,7 @@ class ID
:renew => false,
:sidbits => 128,
:cookie_only => true,
:secure_random => begin ::SecureRandom rescue false end
:secure_random => (::SecureRandom rescue false)
}

attr_reader :key, :default_options
Expand Down

0 comments on commit bae3345

Please sign in to comment.