Browse files

Adding comments to encrypt_with_public_key

  • Loading branch information...
1 parent 63eeacd commit 511d4111c1232320dc297db0b52d40d22e10635a @oleander oleander committed Oct 24, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/strongbox.rb
View
3 lib/strongbox.rb
@@ -45,6 +45,9 @@ module ClassMethods
# database column of the same name as the attibute. If symmetric encryption is
# used (the default) additional column are need to store the generated password
# and IV.
+ #
+ # Last argument should be the options hash
+ # Argument 0..-2 contains columns to be encrypted
def encrypt_with_public_key(*args)
include InstanceMethods

0 comments on commit 511d411

Please sign in to comment.