Class: Adam::Kill::SolarSystem
- Inherits:
-
Object
- Object
- Adam::Kill::SolarSystem
- 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
-
#name ⇒ Object
Returns the value of attribute name.
-
#security_status ⇒ Object
Returns the value of attribute security_status.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ SolarSystem
constructor
A new instance of SolarSystem.
Constructor Details
#initialize {|_self| ... } ⇒ SolarSystem
Returns a new instance of SolarSystem.
124 125 126 |
# File 'lib/adam/kill.rb', line 124 def initialize yield self if block_given? end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
122 123 124 |
# File 'lib/adam/kill.rb', line 122 def name @name end |
#security_status ⇒ Object
Returns the value of attribute security_status.
122 123 124 |
# File 'lib/adam/kill.rb', line 122 def security_status @security_status end |