Module: ActionView::Helpers::TextHelper

Included in:
TypographerHelper::Parsers::SimpleFormat
Defined in:
lib/typographer/helper.rb

Instance Method Summary collapse

Instance Method Details

#ty(text, type = :default) ⇒ Object



5
6
7
# File 'lib/typographer/helper.rb', line 5

def ty(text, type = :default)
  TypographerHelper.parse text.to_s, type
end