class Netrc
- Netrc
- Reference
- Object
Defined in:
netrc.crConstant Summary
-
CYGWIN =
false
-
VERSION =
"0.11.0"
-
WINDOWS =
{% if flag?(:win32) %}true{% else %}false{% end %}
-
See http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
Constructors
Class Method Summary
- .check_permissions(path)
- .config
- .configure(&)
- .default_path
- .home_path
- .lex(lines : Array(String))
- .netrc_filename
- .parse(ts : TokenArray) : Tuple(String, Array(Array(String)))
- .read(path = default_path)
- .skip?(s)
Instance Method Summary
- #[](k : String)
- #[]=(k : String, info : Tuple(String, String))
- #delete(key : String)
- #each(&block)
- #length
- #new_item(m : String, l : String, p : String)
- #new_item_prefix : String
- #new_item_prefix=(new_item_prefix : String)
- #save
- #unparse