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.8.4 lib/power_stencil/utils/os.rb
power_stencil-0.8.3 lib/power_stencil/utils/os.rb
power_stencil-0.8.2 lib/power_stencil/utils/os.rb
power_stencil-0.8.1 lib/power_stencil/utils/os.rb
power_stencil-0.8.0 lib/power_stencil/utils/os.rb
power_stencil-0.7.4 lib/power_stencil/utils/os.rb
power_stencil-0.7.3 lib/power_stencil/utils/os.rb
power_stencil-0.7.2 lib/power_stencil/utils/os.rb
power_stencil-0.7.1 lib/power_stencil/utils/os.rb
power_stencil-0.7.0 lib/power_stencil/utils/os.rb
power_stencil-0.6.3 lib/power_stencil/utils/os.rb
power_stencil-0.6.2 lib/power_stencil/utils/os.rb
power_stencil-0.6.1 lib/power_stencil/utils/os.rb
power_stencil-0.6.0 lib/power_stencil/utils/os.rb
power_stencil-0.5.1 lib/power_stencil/utils/os.rb
power_stencil-0.5.0 lib/power_stencil/utils/os.rb
power_stencil-0.4.22 lib/power_stencil/utils/os.rb
power_stencil-0.4.21 lib/power_stencil/utils/os.rb
power_stencil-0.4.20 lib/power_stencil/utils/os.rb
power_stencil-0.4.19 lib/power_stencil/utils/os.rb