instance method freeze_rules

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

freeze_rules(rules)

No documentation comment.

Parameters

rules req
Source
# File activesupport/lib/active_support/inflector/inflections.rb, line 323
        def freeze_rules(rules)
          rules.each do |pair|
            pair.each(&:freeze)
            pair.freeze
          end
          rules.freeze
        end

Defined in activesupport/lib/active_support/inflector/inflections.rb line 323 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Inflector::Inflections

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close