lib/autumn/tool/bin.rb
# We're really only concerned about win32ole, so we focus our check on its
# ability to load that
We're really only concerned about win32ole, so we focus our check on its
ability to load that
We ' re really only concerned about win32ole so we focus our check on its ability to load that
def is_windows?  
          return @is_win if @is_win
          begin
            require "win32ole"
          rescue LoadError
          end
          @is_win ||= Object.const_defined?("WIN32OLE")
        end
def is_windows? return @is_win if @is_win begin require "win32ole" rescue LoadError end @is_win ||= Object . const_defined? ( "WIN32OLE" ) end
We're really only concerned about win32ole, so we focus our check on its
ability to load that
We ' re really only concerned about win32ole so we focus our check on its ability to load that
# {{{