class Windows::ServiceStructs::SERVICE_DELAYED_AUTO_START_INFO
Public Instance Methods
[]=(key, value)
click to toggle source
Intercept the accessor so that we can handle either true/false or 1/0. Since there is only one member, there's no need to check the key name.
# File lib/win32/windows/structs.rb, line 47 def []=(key, value) [0, false].include?(value) ? aset(key, 0) : aset(key, 1) end
Also aliased as: aset