Module: ConvenientService::Utils::String

Defined in:
lib/convenient_service/utils/string.rb,
lib/convenient_service/utils/string/split.rb,
lib/convenient_service/utils/string/enclose.rb,
lib/convenient_service/utils/string/camelize.rb,
lib/convenient_service/utils/string/truncate.rb,
lib/convenient_service/utils/string/demodulize.rb

Defined Under Namespace

Classes: Camelize, Demodulize, Enclose, Split, Truncate

Class Method Summary collapse

Class Method Details

.camelizeObject



13
14
15
# File 'lib/convenient_service/utils/string.rb', line 13

def camelize(...)
  Camelize.call(...)
end

.demodulizeObject



17
18
19
# File 'lib/convenient_service/utils/string.rb', line 17

def demodulize(...)
  Demodulize.call(...)
end

.encloseObject



21
22
23
# File 'lib/convenient_service/utils/string.rb', line 21

def enclose(...)
  Enclose.call(...)
end

.splitObject



25
26
27
# File 'lib/convenient_service/utils/string.rb', line 25

def split(...)
  Split.call(...)
end

.truncateObject



29
30
31
# File 'lib/convenient_service/utils/string.rb', line 29

def truncate(...)
  Truncate.call(...)
end