Poncho
A .env parser/loader improved for performance. Poncho Icon by lastspark from Noun Project.
Installation
Add this to your application's shard.yml
:
dependencies:
poncho:
github: icyleaf/poncho
Usage
require "poncho"
Parse dotenv
poncho = Poncho.from_file ".env"
# or
poncho = Poncho.parse "PONCHO_ENV=development"
poncho["PONCHO_ENV"] # => "development"
Contributing
- Fork it (https://github.com/icyleaf/poncho/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
Contributors
- icyleaf icyleaf - creator, maintainer