diff options
author | Russ Allbery <rra@stanford.edu> | 2010-04-12 22:39:51 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-04-12 22:39:51 -0700 |
commit | 2ccbe09049f4c99faf3531b9febb7fa2061c0e13 (patch) | |
tree | a677d8e2cf2a54babea05dbce1bc7d8a2e1855d1 /ruby | |
parent | 01005742c48cd4b10e4980c93f4b3d00f3156e78 (diff) |
Fix the name of the argument exception thrown by Ruby
Despite the name of the C variable, the exception is ArgumentError, not
ArgError.
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/README | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ruby/README b/ruby/README index 7c7fc48..4c10691 100644 --- a/ruby/README +++ b/ruby/README @@ -42,7 +42,7 @@ SIMPLIFIED INTERFACE * status: integer, the exit status of the command Exceptions: - * ArgError, TypeError: an invalid argument was supplied + * ArgumentError, TypeError: an invalid argument was supplied * NoMemError: memory allocation failed while making the call * Remctl::Error: an error occurred in the remctl communication @@ -86,9 +86,9 @@ FULL INTERFACE * port (optional): unsigned short, the port to connect to * principal (optional): string, authentication identity of host - This method immediately connects to the server. It raises ArgError - in the event that the port is out of range and Remctl::Error in case - of a protocol error. + This method immediately connects to the server. It raises + ArgumentError in the event that the port is out of range and + Remctl::Error in case of a protocol error. If port is not given, the library default is used (try 4373 first and fall back to attempting the legacy 4444 port). If principal is @@ -96,7 +96,7 @@ FULL INTERFACE determined by the domain-realm mapping) is used. Exceptions: - * ArgError, TypeError: an invalid argument was supplied + * ArgumentError, TypeError: an invalid argument was supplied * NoMemError: memory allocation failed while allocating the object * Remctl::Error: a network or authentication error occurred |