Class: SmartyPantsFilter

Inherits:
TextFilter
  • Object
show all
Defined in:
lib/smarty_pants_filter.rb

Instance Method Summary collapse

Instance Method Details

#filter(text) ⇒ Object



4
5
6
# File 'lib/smarty_pants_filter.rb', line 4

def filter(text)
  RubyPants.new(text).to_html
end