instance method
freeze_rules
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
freeze_rules(rules)
No documentation comment.
Parameters
-
rulesreq
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