class Dry::Inflector::Rules

@api private
@since 0.1.0
A set of inflection rules

def apply_to(word)

Other tags:
    Api: - private

Other tags:
    Since: - 0.1.0
def apply_to(word)
  result = word.dup
  each { |rule, replacement| break if result.gsub!(rule, replacement) }
  result
end

def each(&)

Other tags:
    Api: - private

Other tags:
    Since: - 0.1.0
def each(&)
  @rules.each(&)
end

def initialize

Other tags:
    Api: - private

Other tags:
    Since: - 0.1.0
def initialize
  @rules = []
end

def insert(index, array)

Other tags:
    Api: - private

Other tags:
    Since: - 0.1.0
def insert(index, array)
  @rules.insert(index, array)
end