method

supports_win32_api?

rails latest stable - Class: Rails::SecretKeyGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

supports_win32_api?()
private

No documentation available.

# File railties/lib/rails_generator/secret_key_generator.rb, line 137
      def self.supports_win32_api?
        return false unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
        begin
          require 'Win32API'
          true
        rescue LoadError
          false
        end
      end