Class: EveApp::MarketGroup

Inherits:
ApplicationRecord show all
Defined in:
app/models/eve_app/market_group.rb

Constant Summary collapse

BLUEPRINTS =
2
SHIPS =
4
SHIP_EQUIPTMENT =
9
SHIP_MODIFICATIONS =
955
DRONES =
157
CAPITAL_MODULE =
1052
DECRYPTORS =
1873
REFINED_MATERIALS =
1335
PILOT_SERVICES =
1942
NANITE_PASTE =
1103

Instance Method Summary collapse

Instance Method Details

#rootObject

[View source]

18
19
20
21
22
23
24
# File 'app/models/eve_app/market_group.rb', line 18

def root
  obj = self
  while !obj.parent.nil?
    obj = obj.parent
  end
  obj
end