Class: GenshinObject::WorldBoss
- Defined in:
- lib/genshin_object/world_boss.rb
Overview
Class to represent world bosses
Instance Attribute Summary collapse
-
#boss_material ⇒ Object
Returns the value of attribute boss_material.
Attributes inherited from Boss
Instance Method Summary collapse
-
#initialize(name:, nation_name:, boss_material:) ⇒ WorldBoss
constructor
A new instance of WorldBoss.
Constructor Details
#initialize(name:, nation_name:, boss_material:) ⇒ WorldBoss
Returns a new instance of WorldBoss.
8 9 10 11 12 |
# File 'lib/genshin_object/world_boss.rb', line 8 def initialize(name:, nation_name:, boss_material:) @boss_material = boss_material super(name:, nation_name:) end |
Instance Attribute Details
#boss_material ⇒ Object
Returns the value of attribute boss_material.
6 7 8 |
# File 'lib/genshin_object/world_boss.rb', line 6 def boss_material @boss_material end |