Sha256: d0fcc3761c2f129c9fdcf81be23e2d3905e0349b6e750bc0be62db1c5a26ae38

Contents?: true

Size: 235 Bytes

Versions: 42

Compression:

Stored size: 235 Bytes

Contents

module PowerStencil
  module Utils

    module Os

      WINDOWS_RUBY_FLAVOURS = %w(mswin32 cygwin mingw bccwin)

      def self.windows?
        WINDOWS_RUBY_FLAVOURS.include? RbConfig::CONFIG['host_os']
      end

    end

  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
power_stencil-0.10.0 lib/power_stencil/utils/os.rb
power_stencil-0.9.8 lib/power_stencil/utils/os.rb
power_stencil-0.9.7 lib/power_stencil/utils/os.rb
power_stencil-0.9.6 lib/power_stencil/utils/os.rb
power_stencil-0.9.5 lib/power_stencil/utils/os.rb
power_stencil-0.9.4 lib/power_stencil/utils/os.rb
power_stencil-0.9.3 lib/power_stencil/utils/os.rb
power_stencil-0.9.2 lib/power_stencil/utils/os.rb
power_stencil-0.9.1 lib/power_stencil/utils/os.rb
power_stencil-0.9.0 lib/power_stencil/utils/os.rb
power_stencil-0.8.14 lib/power_stencil/utils/os.rb
power_stencil-0.8.13 lib/power_stencil/utils/os.rb
power_stencil-0.8.12 lib/power_stencil/utils/os.rb
power_stencil-0.8.11 lib/power_stencil/utils/os.rb
power_stencil-0.8.10 lib/power_stencil/utils/os.rb
power_stencil-0.8.9 lib/power_stencil/utils/os.rb
power_stencil-0.8.8 lib/power_stencil/utils/os.rb
power_stencil-0.8.7 lib/power_stencil/utils/os.rb
power_stencil-0.8.6 lib/power_stencil/utils/os.rb
power_stencil-0.8.5 lib/power_stencil/utils/os.rb