module TableauRestApi::Helpers

Public Class Methods

camel_case_lower(term) click to toggle source
# File lib/tableau_rest_api/helpers/helpers.rb, line 3
def self.camel_case_lower(term)
  term.split('_')
    .inject([]){ |buf,elm| buf.push(buf.empty? ? elm : elm.capitalize) }
    .join
end