Class: SpaceshipMissionSimulator::IdentifyPlanet

Inherits:
Object
  • Object
show all
Includes:
Interactor
Defined in:
lib/spaceship_mission_simulator/interactors/identify_planet.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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