# File lib/capistrano/cli/options.rb, line 229 229: def coerce_variable(value) 230: case value 231: when /^"(.*)"$/ then $1 232: when /^'(.*)'$/ then $1 233: when /^\d+$/ then value.to_i 234: when /^\d+\.\d*$/ then value.to_f 235: when "true" then true 236: when "false" then false 237: when "nil" then nil 238: else value 239: end 240: end
# File lib/capistrano/cli/options.rb, line 221 221: def coerce_variable_types! 222: [:pre_vars, :vars].each do |collection| 223: options[collection].keys.each do |key| 224: options[collection][key] = coerce_variable(options[collection][key]) 225: end 226: end 227: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.