module Shell::Extensions::String
Public Instance Methods
Source
# File lib/chef/shell/ext.rb, line 149 def on_off_to_bool case self when "on" true when "off" false else self end end
# File lib/chef/shell/ext.rb, line 149 def on_off_to_bool case self when "on" true when "off" false else self end end