class RedcarpetCompat

def list_to_truthy_hash(list)

Turns a list of symbols into a hash of symbol => true.
def list_to_truthy_hash(list)
  list.inject({}) {|h, k| h[k] = true; h }
end