static private Method

SecretKeyGenerator.supports_win32_api?

There's no documentation for this item.

Source Code

# File rails_generator/secret_key_generator.rb, line 133
def self.supports_win32_api?
  return false unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
  begin
    require 'Win32API'
    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.