https://github.com/bsm/netrcx
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsm/netrcx
- Owner: bsm
- Created: 2019-04-03T13:49:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T23:33:29.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T03:03:02.420Z (over 1 year ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netrcx
[](https://travis-ci.org/bsm/netrcx)
[](https://opensource.org/licenses/Apache-2.0)
A working netrc reader and parser for Ruby.
## Usage (Ruby)
```ruby
require 'netrcx'
# Read from default location
netrc = Netrcx.read
# Read the default entry (if set)
netrc.default # => #
# Find a specific entry
netrc['github.com'] # => #
```