Module: MaterialIconsSvg::MaterialIconsSvgHelper
- Defined in:
- app/helpers/material_icons_svg/material_icons_svg_helper.rb
Overview
Helper of material icons. This method return a singleton MaterialIcon class to get icons in the UI.
Constant Summary collapse
- @@material_icon_svg =
Singleton
MaterialIconSvg.new
Instance Method Summary collapse
-
#material_icon_svg ⇒ Object
(also: #icon)
Reset the previous values of the MaterialIcon class and return the object to render a new icon.
Instance Method Details
#material_icon_svg ⇒ Object Also known as: icon
Reset the previous values of the MaterialIcon class and return the object to render a new icon.
Returns:
MaterialIcon instance
17 18 19 |
# File 'app/helpers/material_icons_svg/material_icons_svg_helper.rb', line 17 def material_icon_svg @@material_icon_svg.reset end |