Class: FlightRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
BrighterPlanet::Flight, Sniff::Emitter
Defined in:
lib/test_support/flight_record.rb

Class Method Summary collapse

Methods included from BrighterPlanet::Flight

#flight_model, #included

Class Method Details

.research(key) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/test_support/flight_record.rb', line 28

def research(key)
  case key
  when :route_inefficiency_factor
    1.07
  when :dogleg_factor
    1.25
  end
end