Module: Omnibus::Sugar

Defined in:
lib/omnibus/sugarable.rb

Overview

This module is a wrapper for common Chef::Sugar-like functions that are common to multiple DSLs (like project and software). The extensions below will be injected into CleanRoom, and hence visible to the DSLs.

Instance Method Summary collapse

Instance Method Details

#windows_arch_i386?Boolean

Returns whether the Windows build target is 32-bit (x86). If this returns false, the target is x64. Itanium is not supported.

Returns:

  • (Boolean)

71
72
73
# File 'lib/omnibus/sugarable.rb', line 71

def windows_arch_i386?
  Config.windows_arch.to_sym == :x86
end