class Dry::Inflector::Inflections

def self.build(&blk)

Other tags:
    Api: - private

Other tags:
    Since: - 0.1.0

Parameters:
  • blk (Proc) -- the optional, custom rules
def self.build(&blk)
  new do |inflect|
    Defaults.call(inflect)
    blk.call(inflect) if block_given?
  end
end