Sha256: d231c2261f030983dc17c48919c1139f82611176e993438b98782aad4b008879
Contents?: true
Size: 379 Bytes
Versions: 327
Compression:
Stored size: 379 Bytes
Contents
defmodule Allergies do @doc """ List the allergies for which the corresponding flag bit is true. """ @spec list(non_neg_integer) :: [String.t] def list(flags) do end @doc """ Returns whether the corresponding flag bit in 'flags' is set for the item. """ @spec allergic_to?(non_neg_integer, String.t) :: boolean def allergic_to?(flags, item) do end end
Version data entries
327 entries across 327 versions & 1 rubygems