Sha256: 4b29a758439a46c77d0c94000e720fa42b031dc111b5d93eae030505f2d2827e
Contents?: true
Size: 338 Bytes
Versions: 311
Compression:
Stored size: 338 Bytes
Contents
defmodule SpaceAge do @type planet :: :mercury | :venus | :earth | :mars | :jupiter | :saturn | :uranus | :neptune @doc """ Return the number of years a person that has lived for 'seconds' seconds is aged on 'planet'. """ @spec age_on(planet, pos_integer) :: float def age_on(planet, seconds) do end end
Version data entries
311 entries across 311 versions & 1 rubygems