lib/eac_ruby_utils/patches/string/inflector.rb



# frozen_string_literal: true

require 'eac_ruby_utils/inflector'

class String
  # Shortcut to `EacRubyUtils::Inflector.variableize(self, ...)`.
  # @see EacRubyUtils::Inflector.variableize
  def variableize(validate = true)
    ::EacRubyUtils::Inflector.variableize(self, validate)
  end
end