Class: Adam::Kill::SolarSystem

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

Overview

Instances of the SolarSystem class represent a solar system in the EVE universe.

Accessors:

  • name - A string describing the name of the solar system.

  • security_status - A floating-point number describing the security status of the solar system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ SolarSystem

Returns a new instance of SolarSystem.

Yields:

  • (_self)

Yield Parameters:



120
121
122
# File 'lib/adam/kill.rb', line 120

def initialize
  yield self if block_given?
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



118
119
120
# File 'lib/adam/kill.rb', line 118

def name
  @name
end

#security_statusObject

Returns the value of attribute security_status.



118
119
120
# File 'lib/adam/kill.rb', line 118

def security_status
  @security_status
end