Module: TableauRestApi::Helpers
- Defined in:
- lib/tableau_rest_api/helpers/helpers.rb
Class Method Summary collapse
Class Method Details
.camel_case_lower(term) ⇒ Object
3 4 5 6 7 |
# 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 |