Sha256: 1fb9efba6404007d7763d5ef9079623651187c6b24aafb07764a3748e05c4e41
Contents?: true
Size: 318 Bytes
Versions: 7
Compression:
Stored size: 318 Bytes
Contents
# frozen_string_literal: true module EveOnline module Formulas class TrainingRate attr_reader :primary, :secondary def initialize(primary, secondary) @primary = primary @secondary = secondary end def rate primary + (secondary / 2.0) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems