nesquena/rabl — pull request #354 by andrewhubbs (2012-11-08 02:28:04+00:00)
Title: Add conditional syntax to attribute method

Example usage:
attributes :foo, :bar, :if => lambda { |x| x.cond? }