lib/convenient_service/utils/string.rb in convenient_service-0.9.0 vs lib/convenient_service/utils/string.rb in convenient_service-0.10.0
- old
+ new
@@ -1,15 +1,20 @@
# frozen_string_literal: true
require_relative "string/camelize"
+require_relative "string/demodulize"
require_relative "string/split"
module ConvenientService
module Utils
module String
class << self
def camelize(...)
Camelize.call(...)
+ end
+
+ def demodulize(...)
+ Demodulize.call(...)
end
def split(...)
Split.call(...)
end