タグ

ブックマーク / slim-lang.com (1)

  • Slim

    So, what is logic less mode and how do you use it? Examples are best, lets start with the basics, conditionals: / If the method is not false or empty?, the content will show - article h1 = title Inverted conditional / If the method is false or empty?, the content will show -! article p Sorry, article not found Next we'll go over resolution order. If article.respond_to?(:title) - article / Slim wil

    iR3
    iR3 2010/12/21
  • 1