Class: NerdTown::Guild::MemberCollectionParser::GuildMember
- Inherits:
-
Object
- Object
- NerdTown::Guild::MemberCollectionParser::GuildMember
- Defined in:
- lib/nerd_town/guild.rb
Instance Attribute Summary collapse
-
#class ⇒ Object
readonly
Returns the value of attribute class.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#race ⇒ Object
readonly
Returns the value of attribute race.
-
#rank ⇒ Object
readonly
Returns the value of attribute rank.
-
#realm ⇒ Object
readonly
Returns the value of attribute realm.
-
#thumbnail ⇒ Object
readonly
Returns the value of attribute thumbnail.
Instance Method Summary collapse
-
#initialize(options) ⇒ GuildMember
constructor
A new instance of GuildMember.
Constructor Details
#initialize(options) ⇒ GuildMember
Returns a new instance of GuildMember.
64 65 66 67 68 69 70 71 |
# File 'lib/nerd_town/guild.rb', line 64 def initialize() @name = .fetch(:name) @realm = .fetch(:realm) @thumbnail = .fetch(:thumbnail) @class = .fetch(:class) @rank = .fetch(:rank) @race = .fetch(:race) end |
Instance Attribute Details
#class ⇒ Object (readonly)
Returns the value of attribute class.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def class @class end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def name @name end |
#race ⇒ Object (readonly)
Returns the value of attribute race.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def race @race end |
#rank ⇒ Object (readonly)
Returns the value of attribute rank.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def rank @rank end |
#realm ⇒ Object (readonly)
Returns the value of attribute realm.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def realm @realm end |
#thumbnail ⇒ Object (readonly)
Returns the value of attribute thumbnail.
63 64 65 |
# File 'lib/nerd_town/guild.rb', line 63 def thumbnail @thumbnail end |