Module: ActionView::Helpers::TextHelper
- Defined in:
- lib/typography/helper.rb
Instance Method Summary collapse
Instance Method Details
#ty(text, options = {}) ⇒ Object
2 3 4 |
# File 'lib/typography/helper.rb', line 2 def ty(text, = {}) TypographyHelper::Core.new(text.html_safe, ).typography end |
#ty_simple(text, html_options = {}) ⇒ Object
5 6 7 |
# File 'lib/typography/helper.rb', line 5 def ty_simple(text, ={}) simple_format ty(text), end |