Sha256: 034e4f88826e038d4e27149b0813440d799a1c23b699c345f84ae6b432784d63
Contents?: true
Size: 338 Bytes
Versions: 16
Compression:
Stored size: 338 Bytes
Contents
defmodule SpaceAge do @type planet :: :mercury | :venus | :earth | :mars | :jupiter | :saturn | :neptune | :uranus @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
16 entries across 16 versions & 1 rubygems