Skip to content

Commit

Permalink
Make crypto a module, as we wont ever instantiate it.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Sep 14, 2011
1 parent 4c169c2 commit 33c46fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crypto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

KeyPair = Struct.new(:public_key, :private_key)

class Crypto
module Crypto
def self.generate_keypair
keypair = KeyPair.new

Expand Down

0 comments on commit 33c46fd

Please sign in to comment.