Use Ruby's Symbol-to-Proc to shorten filter
Use Ruby's Symbol-to-Proc to shorten filter

In Ruby, a symbol (e.g., `:files?`) can be converted to a Proc by
prepending an ampersand (e.g., `&:files #=> :files?.to_proc`). This can
be used with methods like `Enumerable#select` and `Enumerable#map` which
take a Proc/block to filter the enumerable.

nylas/nylas-ruby,nylas/nylas-ruby,stevenharman/nylas-ruby