Skip to content

Commit

Permalink
Added TravisCI status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilLelonek committed Oct 8, 2015
1 parent f33fde0 commit 4c6c82a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Enum type in Elixir known from [Java](https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html) or [C#](https://msdn.microsoft.com/en-us/library/vstudio/cc138362).

[![Build Status](https://travis-ci.org/KamilLelonek/exnumerable.svg)](https://travis-ci.org/KamilLelonek/exnumerable)

Either in Java or in C# there is `enum` type available. It is a special data type that enables for a variable to be a set of predefined constants. The variable must be equal to one of the values that have been predefined for it. Common examples include compass directions (values of `NORTH`, `SOUTH`, `EAST`, and `WEST`) and the days of the week. You should use enum types any time you need to represent a fixed set of constants. That includes natural enum types such as the planets in our solar system and data sets where you know all possible values at compile time—for example, the choices on a menu, command line flags, and so on.

See more:
Expand Down

0 comments on commit 4c6c82a

Please sign in to comment.