class

Netrc

Inherits Reference < Object

Constants

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

new(path : String, data : Tuple(String, Array(Array(String))))
Source

Class methods

check_permissions(path)
Source
config
Source
configure
Source
default_path
Source
home_path
Source
lex(lines : Array(String))
Source
netrc_filename
Source
parse(ts : TokenArray) : Tuple(String, Array(Array(String)))
Source
read(path = default_path)
Source
skip?(s)
Source

Instance methods

[](k : String)
Source
[]=(k : String, info : Tuple(String, String))
Source
delete(key : String)
Source
each
Source
length
Source
new_item(m : String, l : String, p : String)
Source
new_item_prefix
Source
new_item_prefix=(new_item_prefix : String)
Source
save
Source
unparse
Source

Nested types