Class: Evesystem

Inherits:
Object
  • Object
show all
Defined in:
lib/evesystem.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#holderObject

Returns the value of attribute holder.



3
4
5
# File 'lib/evesystem.rb', line 3

def holder
  @holder
end

#jumpObject

Returns the value of attribute jump.



3
4
5
# File 'lib/evesystem.rb', line 3

def jump
  @jump
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/evesystem.rb', line 3

def region
  @region
end

#secObject

Returns the value of attribute sec.



3
4
5
# File 'lib/evesystem.rb', line 3

def sec
  @sec
end

#solarsystemObject

Returns the value of attribute solarsystem.



3
4
5
# File 'lib/evesystem.rb', line 3

def solarsystem
  @solarsystem
end