Class: Yaic::WhoResult
- Inherits:
-
Object
- Object
- Yaic::WhoResult
- Defined in:
- lib/yaic/who_result.rb
Instance Attribute Summary collapse
-
#away ⇒ Object
readonly
Returns the value of attribute away.
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#nick ⇒ Object
readonly
Returns the value of attribute nick.
-
#realname ⇒ Object
readonly
Returns the value of attribute realname.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(channel:, user:, host:, server:, nick:, away:, realname:) ⇒ WhoResult
constructor
A new instance of WhoResult.
Constructor Details
#initialize(channel:, user:, host:, server:, nick:, away:, realname:) ⇒ WhoResult
Returns a new instance of WhoResult.
7 8 9 10 11 12 13 14 15 |
# File 'lib/yaic/who_result.rb', line 7 def initialize(channel:, user:, host:, server:, nick:, away:, realname:) @channel = channel @user = user @host = host @server = server @nick = nick @away = away @realname = realname end |
Instance Attribute Details
#away ⇒ Object (readonly)
Returns the value of attribute away.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def away @away end |
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def channel @channel end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def host @host end |
#nick ⇒ Object (readonly)
Returns the value of attribute nick.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def nick @nick end |
#realname ⇒ Object (readonly)
Returns the value of attribute realname.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def realname @realname end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def server @server end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
5 6 7 |
# File 'lib/yaic/who_result.rb', line 5 def user @user end |