Class: Yadisk::OS

Inherits:
Object
  • Object
show all
Defined in:
lib/yadisk/os.rb

Class Method Summary collapse

Class Method Details

.windows?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/yadisk/os.rb', line 5

def self.windows?
  RUBY_PLATFORM =~ /win|mingw/
end