# File lib/aws/core/xml_grammar.rb, line 418 def parse_config_item(item) case item when Symbol [:method, item, []] when Hash (method, arg) = item.to_a.first if method.kind_of?(Symbol) [:method, method, [arg].flatten] else [:element, method, arg] end end end