Class: Ident::Response::USERID
- Ident::Response::BasicResponse
- Ident::Response::USERID
Attributes
Instance Attributes
charset | [R] | public |
the charset on the system, defaults to US-ASCII. |
---|---|---|---|
os | [R] | public |
the operating system of the user. |
userid | [R] | public |
the userid. |
Constructor Summary
public
initialize(os, userid)
[View source]
37 38 39 40 41 |
# File 'lib/ident.rb', line 37 def initialize(os, userid) @os, @charset = os.split('-') @charset ||= 'US-ASCII' @userid = userid end |