Module: Casing::Camel::Array
- Defined in:
- lib/casing/camel/array.rb
Class Method Summary collapse
Class Method Details
.call(val, include_values: nil, symbol_to_string: nil) ⇒ Object Also known as: !
4 5 6 7 8 9 10 11 |
# File 'lib/casing/camel/array.rb', line 4 def self.call(val, include_values: nil, symbol_to_string: nil) include_values = include_values.nil? ? false : include_values symbol_to_string ||= false val.map do |v| Casing::Camel.(v, include_values: include_values, symbol_to_string: symbol_to_string) end end |