<commit_before>#JiffyEnums

This project rocks and uses MIT-LICENSE.

* **master:** [![Build Status master](https://travis-ci.org/Identified/jiffy_enums.png?branch=master)](https://travis-ci.org/Identified/jiffy_enums)
* **development:** [![Build Status development](https://travis-ci.org/Identified/jiffy_enums.png?branch=development)](https://travis-ci.org/Identified/jiffy_enums)

##Ruby Usage
```ruby
Class MyEnums
  extend JiffyEnums
  define :ENUM1, "enum 1"
  define :ENUM2, "enum 2"
  define :ENUM3, "enum 3"
end

MyEnums[:ENUM1].key
=> :ENUM1
MyEnums[:ENUM1].value
=> "enum 1"
MyEnums[:ENUM1].ordinal
=> 1

MyEnums::ENUM2
=> "enum 2"
```

##Coffee Usage
```coffeescript
Enums = {}
<%= MyEnums.to_coffee("Enums") %>
<commit_msg>Update README.md Add Code Climate metric<commit_after>#JiffyEnums

This project rocks and uses MIT-LICENSE.

[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/Identified/jiffy_enums)

* **master:** [![Build Status master](https://travis-ci.org/Identified/jiffy_enums.png?branch=master)](https://travis-ci.org/Identified/jiffy_enums)
* **development:** [![Build Status development](https://travis-ci.org/Identified/jiffy_enums.png?branch=development)](https://travis-ci.org/Identified/jiffy_enums)

##Ruby Usage
```ruby
Class MyEnums
  extend JiffyEnums
  define :ENUM1, "enum 1"
  define :ENUM2, "enum 2"
  define :ENUM3, "enum 3"
end

MyEnums[:ENUM1].key
=> :ENUM1
MyEnums[:ENUM1].value
=> "enum 1"
MyEnums[:ENUM1].ordinal
=> 1

MyEnums::ENUM2
=> "enum 2"
```

##Coffee Usage
```coffeescript
Enums = {}
<%= MyEnums.to_coffee("Enums") %>

{'fraction_non_alphanumeric': 0.1822139303482587, 'fraction_numerical': 0.017412935323383085, 'mean_word_length': 5.846808510638298, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1101884', 'n_tokens_mistral': 666, 'n_tokens_neox': 642, 'n_words': 107}