lib/ec2/host/string_util.rb in ec2-host-0.5.3 vs lib/ec2/host/string_util.rb in ec2-host-0.5.4

- old
+ new

@@ -24,8 +24,12 @@ end def self.singularize(string) string.chomp('s') end + + def self.stringify_symbols(array) + array.map {|e| e.is_a?(Symbol) ? e.to_s : e } + end end end end