Module: SeriousBlogHelper
- Defined in:
- lib/serious_blog_helper.rb
Class Method Summary collapse
-
.tags_from_article(article = nil) ⇒ Object
extract tags from article.
Class Method Details
.tags_from_article(article = nil) ⇒ Object
extract tags from article
5 6 7 8 9 10 11 12 |
# File 'lib/serious_blog_helper.rb', line 5 def SeriousBlogHelper.(article=nil) = %&tags"=>& if article && article.inspect.index() =article.inspect.index() + .length = article.inspect.index("\"," ,) = article.inspect[+1..-1] end end |