Class: Fastlane::Wpmreleasetoolkit::Versioning::SimpleBuildCodeCalculator
- Inherits:
-
Object
- Object
- Fastlane::Wpmreleasetoolkit::Versioning::SimpleBuildCodeCalculator
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/simple_build_code_calculator.rb
Overview
The ‘SimpleBuildCodeCalculator` class is a build code calculator for apps that use simple integer build codes.
Instance Method Summary collapse
-
#next_build_code(build_code:) ⇒ BuildCode
Calculate the next build code.
Instance Method Details
#next_build_code(build_code:) ⇒ BuildCode
Calculate the next build code.
This method increments the build code value by 1.
15 16 17 18 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/simple_build_code_calculator.rb', line 15 def next_build_code(build_code:) new_build_code = build_code.dup new_build_code.build_code += 1 end |