Flowdock
method

supports_win32_api?

Importance_0
v2.0.0 - Show latest stable - 0 notes - Class: Rails::SecretKeyGenerator
supports_win32_api?() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/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
Register or log in to add new notes.