Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Ensured that the BigDecimal standard library is always loaded.
Browse files Browse the repository at this point in the history
BigDecimal is needed for implementing the RSA::Math.phi method.
  • Loading branch information
artob committed Sep 9, 2010
1 parent a141709 commit 16a1879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rsa.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'stringio' unless defined?(StringIO)
require 'bigdecimal' unless defined?(BigDecimal)
require 'stringio' unless defined?(StringIO)

if RUBY_VERSION < '1.9.1'
# @see http://rubygems.org/gems/backports
Expand Down

0 comments on commit 16a1879

Please sign in to comment.