# File lib/rudy/aws/ec2/keypair.rb, line 15 15: def public_key 16: return unless @private_key 17: k = Rye::Key.new(@private_key) 18: k.public_key.to_ssh2 19: end