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:



124
125
126
# File 'lib/adam/kill.rb', line 124

def initialize
  yield self if block_given?
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



122
123
124
# File 'lib/adam/kill.rb', line 122

def name
  @name
end

#security_statusObject

Returns the value of attribute security_status.



122
123
124
# File 'lib/adam/kill.rb', line 122

def security_status
  @security_status
end