Class: Yaic::WhoisResult
- Inherits:
-
Object
- Object
- Yaic::WhoisResult
- Defined in:
- lib/yaic/whois_result.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#away ⇒ Object
Returns the value of attribute away.
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#host ⇒ Object
Returns the value of attribute host.
-
#idle ⇒ Object
Returns the value of attribute idle.
-
#nick ⇒ Object
Returns the value of attribute nick.
-
#realname ⇒ Object
Returns the value of attribute realname.
-
#server ⇒ Object
Returns the value of attribute server.
-
#signon ⇒ Object
Returns the value of attribute signon.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(nick:) ⇒ WhoisResult
constructor
A new instance of WhoisResult.
Constructor Details
#initialize(nick:) ⇒ WhoisResult
Returns a new instance of WhoisResult.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/yaic/whois_result.rb', line 7 def initialize(nick:) @nick = nick @user = nil @host = nil @realname = nil @channels = [] @server = nil @idle = nil @signon = nil @account = nil @away = nil end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def account @account end |
#away ⇒ Object
Returns the value of attribute away.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def away @away end |
#channels ⇒ Object
Returns the value of attribute channels.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def channels @channels end |
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def host @host end |
#idle ⇒ Object
Returns the value of attribute idle.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def idle @idle end |
#nick ⇒ Object
Returns the value of attribute nick.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def nick @nick end |
#realname ⇒ Object
Returns the value of attribute realname.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def realname @realname end |
#server ⇒ Object
Returns the value of attribute server.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def server @server end |
#signon ⇒ Object
Returns the value of attribute signon.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def signon @signon end |
#user ⇒ Object
Returns the value of attribute user.
5 6 7 |
# File 'lib/yaic/whois_result.rb', line 5 def user @user end |