# File lib/rudy/huxtable.rb, line 181 181: def current_machine_hostname 182: # NOTE: There is an issue with Caesars that a keyword that has been 183: # defined as forced_array (or forced_hash, etc...) is like that for 184: # all subclasses of Caesars. There is a conflict between "hostname" 185: # in the machines config and routines config. The routines config 186: # parses hostname with forced_array because it's a shell command 187: # in Rye::Cmd. Machines config expects just a symbol. The issue 188: # is with Caesars so this is a workaround to return a symbol. 189: hn = fetch_machine_param(:hostname) || :rudy 190: hn = hn.flatten.compact.first if hn.is_a?(Array) 191: hn 192: end