Module: HasHelpers::CoreExt::Symbol
- Defined in:
- lib/has_helpers/core_ext/symbol.rb
Instance Method Summary collapse
-
#to_icon(*args) ⇒ Object
Examples :tag.to_icon :tag.to_icon(:flip_horizontal).
Instance Method Details
#to_icon(*args) ⇒ Object
Examples
:tag.to_icon :tag.to_icon(:flip_horizontal)
10 11 12 |
# File 'lib/has_helpers/core_ext/symbol.rb', line 10 def to_icon(*args) to_s.to_icon(*args) end |