Module: Restiny::Faction
- Defined in:
- lib/restiny/constants.rb
Overview
Definitions for the various gear-related groups within Destiny 2.
Constant Summary collapse
- CRUCIBLE =
1- DEAD_ORBIT =
2- FUTURE_WAR_CULT =
3- NEW_MONARCHY =
4- VANGUARD =
5
Class Method Summary collapse
Class Method Details
.all ⇒ Object
182 183 184 185 186 187 188 189 190 |
# File 'lib/restiny/constants.rb', line 182 def self.all { CRUCIBLE => 'Crucible', DEAD_ORBIT => 'Dead Orbit', FUTURE_WAR_CULT => 'Future War Cult', NEW_MONARCHY => 'New Monarchy', VANGUARD => 'Vanguard' } end |
.mapping ⇒ Object
192 193 194 195 196 197 198 199 200 |
# File 'lib/restiny/constants.rb', line 192 def self.mapping { 'faction.crucible' => CRUCIBLE, 'faction.dead_orbit' => DEAD_ORBIT, 'faction.future_war_cult' => FUTURE_WAR_CULT, 'faction.new_monarchy' => NEW_MONARCHY, 'faction.vanguard' => VANGUARD } end |