Class: Evesystem
- Inherits:
-
Object
- Object
- Evesystem
- Defined in:
- lib/evesystem.rb
Instance Attribute Summary collapse
-
#holder ⇒ Object
Returns the value of attribute holder.
-
#jump ⇒ Object
Returns the value of attribute jump.
-
#region ⇒ Object
Returns the value of attribute region.
-
#sec ⇒ Object
Returns the value of attribute sec.
-
#solarsystem ⇒ Object
Returns the value of attribute solarsystem.
Instance Method Summary collapse
-
#initialize(attrs) ⇒ Evesystem
constructor
A new instance of Evesystem.
Constructor Details
#initialize(attrs) ⇒ Evesystem
Returns a new instance of Evesystem.
5 6 7 8 9 10 11 |
# File 'lib/evesystem.rb', line 5 def initialize(attrs) @jump = attrs[0] @region = attrs[1] @solarsystem = attrs[2] @sec = attrs[3] @holder = attrs[4] end |
Instance Attribute Details
#holder ⇒ Object
Returns the value of attribute holder.
3 4 5 |
# File 'lib/evesystem.rb', line 3 def holder @holder end |
#jump ⇒ Object
Returns the value of attribute jump.
3 4 5 |
# File 'lib/evesystem.rb', line 3 def jump @jump end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/evesystem.rb', line 3 def region @region end |
#sec ⇒ Object
Returns the value of attribute sec.
3 4 5 |
# File 'lib/evesystem.rb', line 3 def sec @sec end |
#solarsystem ⇒ Object
Returns the value of attribute solarsystem.
3 4 5 |
# File 'lib/evesystem.rb', line 3 def solarsystem @solarsystem end |