Class: Calculus::ManureManagementPlan::External

Inherits:
Method
  • Object
show all
Defined in:
lib/calculus/manure_management_plan/external.rb

Overview

This method considers that values are not computed here so it does quite nothing

Instance Method Summary collapse

Methods inherited from Method

#crop_sets, #initialize, #production, #soil_natures

Constructor Details

This class inherits a constructor from Calculus::ManureManagementPlan::Method

Instance Method Details

#computeObject

Compute nothing…


13
14
15
# File 'lib/calculus/manure_management_plan/external.rb', line 13

def compute
  @options
end

#estimate_expected_yieldObject

Cannot estimate without any method, so zero…


8
9
10
# File 'lib/calculus/manure_management_plan/external.rb', line 8

def estimate_expected_yield
  0.0.in_quintal_per_hectare
end