static private Method

SecretKeyGenerator.supports_openssl?

There's no documentation for this item.

Source Code

# File rails_generator/secret_key_generator.rb, line 147
def self.supports_openssl?
  begin
    require 'openssl'
    true
  rescue LoadError
    false
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.