Class: SpaceshipMissionSimulator::IdentifyPlanet
- Inherits:
-
Object
- Object
- SpaceshipMissionSimulator::IdentifyPlanet
- Includes:
- Interactor
- Defined in:
- lib/spaceship_mission_simulator/interactors/identify_planet.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
10 11 12 |
# File 'lib/spaceship_mission_simulator/interactors/identify_planet.rb', line 10 def call context.planet = Planet.new(gravity: context.gravity).fill_up_data end |