01 Oct '13, 7am

Sass の custom functions 覚えたー。 declare 書くとその名前で keyword argument できるようになって便利なので書く

Declare a Sass signature for a Ruby-defined function. This includes the names of the arguments, whether the function takes a variable number of arguments, and whether the function takes an arbitrary set of keyword arguments. It’s not necessary to declare a signature for a function. However, without a signature it won’t support keyword arguments. A single function can have multiple signatures declared as long as each one takes a different number of arguments. It’s also possible to declare multiple signatures that all take the same number of arguments, but none of them but the first will be used unless the user uses keyword arguments.

Full article: http://sass-lang.com/docs/yardoc/Sass/Script/Functions.ht...

Tweets

Sass の custom functions 覚えたー。 declare 書くとその名前で ...

sass-lang.com 01 Oct '13, 7am

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...

@stowball

sass-lang.com 14 Oct '13, 1am

# File '/home/nex3/code/sass.github.com/.sass/lib/sass/script/functions.rb', line 286 def self.signature(method_name, arg_...

reject_ifの使い方。これで更新したくない場合の子モデルの状態を定義できる。これで今抱え...

api.rubyonrails.org 11 Oct '13, 3pm

If true, destroys any members from the attributes hash with a _destroy key and a value that evaluates to true (eg. 1, ‘1’,...

Todo lo que debes saber de Sass

sass-lang.com 13 Oct '13, 8pm

CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain. This is where a prepr...

Sass - Syntactically Awesome Stylesheets

sass-lang.com 21 Sep '13, 11pm

Download Editor Support Development Install Ruby and Sass First of all, let’s get Sass up and running. If you’re using OS ...