method

escape_units

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::Helpers::NumberHelper
escape_units(units) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/number_helper.rb, line 135
        def escape_units(units)
          units.transform_values do |v|
            ERB::Util.html_escape(v)
          end
        end
Register or log in to add new notes.