This is the Public Health England (PHE) National Disease Registers (NDR) Support ruby gem, providing:
- core ruby class extensions;
- additional time, regular expression, file security, password checking/generation, and encoding classes.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself by cloning the project, then executing:
$ gem install ndr_support.gem
ndr_support extends/overrides the following core classes/modules:
ndr_support adds the following classes:
YAML Serialization Wrapper
ndr_support also provides a lightweight wrapper around YAML serialization to provide support for YAML engines and string encodings. This behavour is not enabled by default.
To enable this add the following line to your code:
- Fork it ( https://github.com/PublicHealthEngland/ndr_support/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
All test data in this repository is fictitious. Any resemblance to real persons, living or dead, is purely coincidental.
Note: Real codes exist in the tests, postcodes for example, but bear no relation to real patient data. Please ensure that you always only ever commit dummy data when contributing to this project.