lib/wolf_core/utils/string_utils.rb
module WolfCore module StringUtils def camelcase_to_spaces(str) return if str.nil? str.gsub(/([A-Z])/, ' \1').strip.downcase.capitalize end end end
module WolfCore module StringUtils def camelcase_to_spaces(str) return if str.nil? str.gsub(/([A-Z])/, ' \1').strip.downcase.capitalize end end end