method

escape_units

Importance_0
v4.2.1 - Show latest stable - 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 401
      def escape_units(units)
        Hash[units.map do |k, v|
          [k, ERB::Util.html_escape(v)]
        end]
      end
Register or log in to add new notes.